Pane.clear_history
Forget the scrollback, which is the only way to bound a pane's memory without restarting what is running in it.
Source and package
- Qualified name
-
libtmux::Pane:: clear _history - Namespace
- libtmux
- Declared in
Pane- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Perl Raku Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby LuaTypeScriptRustGoJavaC#Swift Kotlin Scala OCaml F# Clojure
tmux command#
The tmux commands behind clear_history.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Clear a pane's scrollback
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| Swift | Server |
| OCaml | Libtmux |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
| Raku | Lib |
No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.