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.clear_history

Clear pane history buffer via $ tmux clear-history.

Source and package
Qualified name
libtmux.Pane.clear_history
Module
libtmux
Declared in
Pane
Package
libtmux
Source
src/libtmux/pane.py
Other languages
PowerShell Julia Ruby LuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F#
clear_history ( self, reset_hyperlinks: bool | None = None ) → None

Examples#

>>> pane.clear_history()
Parameters

tmux command clear-history

In other ports Clear a pane's scrollback
Esc

Type to search.

Reference preview Open reference