method libtmux-dotnet latest
CapturePaneRequest.ToCommand
Returns a capture request as one tmux command.
Source and package
- Module
- LibTmux
- Declared in
- CapturePaneRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/CapturePaneRequest.cs
- ToCommand ( pane : Pane ) Tmux
Command -
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
-
-
Argument
Null –Exception paneis null.
-