method libtmux-dotnet latest
SplitPaneRequest.ToCommand
Returns a split request as one tmux command.
Source and package
- Module
- LibTmux
- Declared in
- SplitPaneRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/SplitPaneRequest.cs
- ToCommand ( pane : Pane ) Tmux
Command -
Description#
Splitting into an empty pane arrived in tmux 3.7 and the appearance flags in 3.6, so the pane decides which of them the built command carries. It prints the new pane's identifier the same way the one-shot path does.
- Parameters
-
-
pane ( Pane ) – The pane being split.
-
- Returns
-
The command, ready to add to a
TmuxChain. - Raises
-
-
Argument
Null –Exception paneis null.
-