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

Python API

Python documentation

libtmux.Pane.clear_history

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
Ruby LuaTypeScriptRustGoJava.NETC++Swift
clear_history ( self , reset_hyperlinks : bool | None = None ) → None
method [source]
method [source]
clear_history

Clear pane history buffer via $ tmux clear-history.

Parameters
  • reset_hyperlinks ( bool | None ) – Also reset hyperlinks (-H flag). Requires tmux 3.4+. added 0.56

In other ports Clear a pane's scrollback

Examples

>>> pane.clear_history()
await pane.clearHistory();

0 declared, 0 inherited

Esc

Type to search.