On this page
LibTmux.Server.GetPromptHistoryAsync
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Interaction.cs
- GetPromptHistoryAsync ( type : PromptType? , cancellationToken : CancellationToken ) Task<IReadOnlyList<string>>
-
Reads what has been typed at command prompts.
- Parameters
-
-
type ( PromptType? ) – Which history to read, or null for all of them.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
One line per remembered entry.
- Raises
-
-
TmuxVersionTooLowException – tmux is older than 3.3.
-
0 declared, 0 inherited