Server.show_prompt_history
Show prompt history via $ tmux show-prompt-history.
Source and package
-
Examples#
>>> from libtmux.common import has_gte_version>>> if has_gte_version("3.3"):... result = server.show_prompt_history()... else:... result = []>>> isinstance(result, list)True- Parameters
-
-
prompt_type(t.Literal ["command", "search", "target", "window-target"] | None) # – Prompt type to show (-Tflag).
-
- Returns
-
list[str] Prompt history lines.
In other ports Read what has been typed at command prompts
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Server - Rust
- Go
- Java
- C#
- C++ no equivalent on
Server - Swift no equivalent on
Server - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.