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

Pane.break_pane

Break this pane out into a new window via $ tmux break-pane.

Source and package
Qualified name
libtmux.Pane.break_pane
Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
PowerShell Julia RubyLuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F#
break_pane ( self, detach: bool = True, window_name: str | None = None, ) → Window

Examples#

>>> pane_to_break = window.split(shell='sleep 1m')
>>> new_window = pane_to_break.break_pane(window_name='broken')
>>> new_window.window_name
'broken'
Parameters
Returns

Window The newly created window containing the pane.

tmux command break-pane

In other ports Move a pane out into a window of its own
Esc

Type to search.

Reference preview Open reference