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

CapturePaneRequest.ToCommand

Namespace LibTmux.CapturePaneRequest.ToCommand LibTmux

Returns a capture request as one tmux command.

View as Markdown

Source and package
Module
LibTmux
Declared in
CapturePaneRequest
Package
LibTmux
Source
src/LibTmux/Requests/CapturePaneRequest.cs
ToCommand ( pane : Pane ) → TmuxCommand
method [source]

Description#

Several capture flags arrived after tmux 3.2a, and the pane is what knows which tmux is answering, so the command it builds carries only the flags that server accepts.

Parameters
  • pane ( Pane ) – The pane being captured.

Returns

The command, ready to add to a TmuxChain .

Raises
Esc

Type to search.