Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

C# API

method libtmux-dotnet latest

Server.GetPromptHistoryAsync

Namespace LibTmux.Server.GetPromptHistoryAsync LibTmux

Reads what has been typed at command prompts.

View as Markdown

Source and package
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
src/LibTmux/Server.Interaction.cs
Other languages
Python Ruby Lua TypeScript RustGoJava C++ Swift Kotlin Scala F#
GetPromptHistoryAsync ( type : PromptType? , cancellationToken : CancellationToken ) → Task<IReadOnlyList<string>>
methodasync [source]
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
In other ports Read what has been typed at command prompts
Esc

Type to search.