libtmux Reference MCP Search
On this page

io.github.libtmux.Window.Window.select

View as Markdown

Module
io.github.libtmux.Window
Declared in
Window
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Window.java
Other languages
PythonTypeScriptRustGo.NETC++Swift
select ( ) void
method [source]
method [source]
select

Makes this the active window of its session.

In other languages Make a window active

Examples

>>> 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'
True
await window.select();

0 declared, 0 inherited

Esc

Type to search.