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

GetOptionRequest.ToCommand

Namespace LibTmux.GetOptionRequest.ToCommand LibTmux

Returns a named option read as one tmux command.

View as Markdown

Source and package
Module
LibTmux
Declared in
GetOptionRequest
Package
LibTmux
Source
src/LibTmux/Requests/GetOptionRequest.cs
ToCommand ( options : TmuxOptions ) → TmuxCommand
method [source]

Description#

A chain returns one combined output stream, so several reads batched together arrive undelimited. Reach for this to read something beside the changes a chain makes; reach for the handle's own accessor when what you want is a parsed value.

Parameters
  • options ( TmuxOptions ) – The options handle whose scope is read.

Returns

The command, ready to add to a TmuxChain .

Raises
Esc

Type to search.