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

Go API

Go documentation

tmux.Server.ShowPromptHistory

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
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.

In other ports Read what has been typed at command prompts

0 declared, 0 inherited

Esc

Type to search.