libtmux Reference MCP Search
On this page

libtmux.Session.kill_window

View as Markdown

Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
kill_window ( self , target_window : str | int | None = None ) None
method [source]
method [source]
kill_window

Close a tmux window, and all panes inside it, $ tmux kill-window.

Kill the current window or the window at target-window. removing it from any sessions to which it is linked.

Parameters
  • target_window ( str | int | None ) – Window to kill.

Raises

0 declared, 0 inherited

Esc

Type to search.