libtmux Reference MCP Search
On this page

libtmux.Session.next_window

View as Markdown

Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
next_window ( self ) Window
method [source]
method [source]
next_window

Select the next window.

Wraps $ tmux next-window.

Examples

>>> w = session.new_window(window_name='nw_test')
>>> session.next_window()
Window(...)
Returns

Window The newly active window.

0 declared, 0 inherited

Esc

Type to search.