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

Namespace LibTmux.Server.ClearPromptHistoryAsync LibTmux

Forgets 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#
ClearPromptHistoryAsync ( type : PromptType? , cancellationToken : CancellationToken ) → Task
method [source]
Parameters
  • type ( PromptType? ) – Which history to clear, or null for all of them.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Raises

tmux command clear-prompt-history

In other ports Forget what has been typed at command prompts
Esc

Type to search.