- Module
- window
- Declared in
- Window
- Package
- libtmux
- Source
- packages/libtmux/src/window.ts
- Other languages
- Python Ruby LuaRustGoJava.NETC++Swift
-
Make this window active in its session.
In other ports Make a window active
- Python
libtmux.Window.select - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.WindowLink:select - Rust
window.Window.select - Go
tmux.Window.Select - Java
io.github.libtmux.Window.Window.select - .NET
LibTmux.Window.SelectAsync - C++
libtmux::Window::select - Swift
Server.select(_:)
- Python
Examples
await window.select();>>> window = session.active_window>>> new_window = session.new_window()>>> session.refresh()>>> active_windows = [w for w in session.windows if w.window_active == '1']>>> new_window.window_active == '1'False>>> new_window.select()Window(...)>>> new_window.window_active == '1'True0 declared, 0 inherited