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

Python API

Python documentation

libtmux.Session.kill_window

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
Other languages
Ruby Lua TypeScript Rust Go Java .NET C++ Swift
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
In other ports Close a window named from its session
  • Ruby No source-verified Ruby equivalent is recorded for this operation.
  • Lua No source-verified Lua equivalent is recorded for this operation.
  • TypeScript no equivalent on Session
  • Rust no equivalent on Session
  • Go tmux.Session.KillWindow
  • Java no equivalent on Session
  • .NET LibTmux.Session.KillWindowAsync
  • C++ no equivalent on Session
  • Swift no equivalent on Session

0 declared, 0 inherited

Esc

Type to search.