On this page
libtmux.Pane.reset
- Module
- libtmux
- Declared in
- Pane
- Package
- libtmux
- Source
- src/libtmux/pane.py
-
Reset terminal state and clear pane history.
Sends
send-keys -Randclear-historyto 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