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

ServerAccessRequest.ToCommand

Namespace LibTmux.ServerAccessRequest.ToCommand LibTmux

Returns an access request as one tmux command.

View as Markdown

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

Description#

The command itself arrived in tmux 3.3, so batching does not soften the refusal below that: an older server has nothing to send it to.

Parameters
  • server ( Server ) – The server whose access is changed.

Returns

The command, ready to add to a TmuxChain .

Raises
Esc

Type to search.