libtmux Reference MCP Search
On this page

tmux.Server.ShowPromptHistory

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/prompt_history.go
ShowPromptHistory ( ctx : context.Context , request : PromptHistoryRequest ) ([]string, error)
method [source]
method [source]
ShowPromptHistory

ShowPromptHistory returns an owned snapshot of tmux prompt-history lines. It requires tmux 3.3 or later and returns VersionTooLowError below that floor. A tmux command or transport failure is returned rather than answered with no history.

0 declared, 0 inherited

Esc

Type to search.