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

Rust API

Rust documentation

server.Server.clear_prompt_history

Rust

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
Other languages
Python TypeScript GoJava.NET C++ Swift
clear_prompt_history ( self ) → Result<(), Error>
method [source]
method [source]
clear_prompt_history

Forget the entries tmux remembers for prompts.

Clears every kind, which is what tmux's own command does.

Errors

Returns Error::UnsupportedCapability below tmux 3.3, and an error when tmux cannot be reached or refuses the command.

In other ports Forget what has been typed at command prompts

0 declared, 0 inherited

Esc

Type to search.