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.

method libtmux-dotnet latest

CommandPromptRequest.ToCommand

Namespace LibTmux.CommandPromptRequest.ToCommand LibTmux

Returns a prompt request as one tmux command.

View as Markdown

Source and package
Module
LibTmux
Declared in
CommandPromptRequest
Package
LibTmux
Source
src/LibTmux/Requests/CommandPromptRequest.cs
ToCommand ( server : Server ) → TmuxCommand
method [source]

Description#

Batching does not soften the refusal below tmux 3.3: that version reads the type flag as something else, so a prompt asking for one is refused here exactly as it is when run alone.

Parameters
  • server ( Server ) – The server the prompt is shown on.

Returns

The command, ready to add to a TmuxChain .

Raises
Esc

Type to search.