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

SplitPaneRequest.ToCommand

Namespace LibTmux.SplitPaneRequest.ToCommand LibTmux

Returns a split request as one tmux command.

View as Markdown

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

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
Esc

Type to search.