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

Python API

Python documentation

libtmux.Pane.reset

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
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
Ruby Lua TypeScript Rust Go Java .NET C++ Swift
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_...)))
In other ports Reset a pane's terminal state and drop its history
  • 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 Pane
  • Rust no equivalent on Pane
  • Go tmux.Pane.Reset
  • Java no equivalent on Pane
  • .NET LibTmux.Pane.ResetAsync
  • C++ no equivalent on Pane
  • Swift no equivalent on Pane

0 declared, 0 inherited

Esc

Type to search.