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

ConfirmBeforeRequest.ToCommand

Namespace LibTmux.ConfirmBeforeRequest.ToCommand LibTmux

Returns a confirmation request as one tmux command.

View as Markdown

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

Description#

Naming the accepting key, and defaulting to yes, arrived in tmux 3.4, so the server decides whether the built command carries them.

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

Returns

The command, ready to add to a TmuxChain .

Raises
Esc

Type to search.