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

Go API

Go documentation

tmux.Server.ClearPromptHistory

Go

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/prompt_history.go
Other languages
Python Ruby Lua TypeScript RustJava.NET C++ Swift
ClearPromptHistory ( ctx : context.Context , request : PromptHistoryRequest ) → error
method [source]
method [source]
ClearPromptHistory

ClearPromptHistory clears all tmux prompt history or one selected class. Version, transport, and completed-stderr failures are returned. It requires tmux 3.3 or later and returns VersionTooLowError below that floor.

In other ports Forget what has been typed at command prompts

0 declared, 0 inherited

Esc

Type to search.