libtmux Reference MCP Search
On this page

libtmux.Pane.reset

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
reset ( self ) Pane
method [source]
method [source]
reset

Reset terminal state and clear pane history.

Sends send-keys -R and clear-history to the pane in one targeted tmux command sequence so output cannot land in the freshly-cleared grid between the terminal-state reset and the history clear.

Examples

>>> pane.reset()
Pane(%... Window(@... ...:..., Session($1 libtmux_...)))

0 declared, 0 inherited

Esc

Type to search.