Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Session.next_window

Select the next window.

Source and package
Qualified name
libtmux.Session.next_window
Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
Other languages
PowerShell Julia Ruby Lua TypeScript RustGoJavaC#C++Swift Kotlin Scala F#
next_window (self) → Window

Description#

Wraps $ tmux next-window.

Examples#

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

Window The newly active window.

tmux command next-window

In other ports Move to the next window of a session
Esc

Type to search.

Reference preview Open reference