On this page
tmux.Server.ShowPromptHistory
- 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)
-
ShowPromptHistory returns an owned snapshot of tmux prompt-history lines. It requires tmux 3.3 or later and returns
VersionTooLowErrorbelow that floor. A tmux command or transport failure is returned rather than answered with no history.
0 declared, 0 inherited