Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

C# API

class libtmux-dotnet

SplitPaneRequest

Describes one split-window invocation.

Source and package
Qualified name
LibTmux.SplitPaneRequest
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/Requests/SplitPaneRequest.cs
class LibTmux.SplitPaneRequest

Description

Every option is set through an initializer rather than a constructor argument. tmux gains flags, and a constructor that grew one would break every caller already compiled against the old signature; a property added beside these does not.

Properties17

SplitPaneRequest properties
NameTypeDescription
ActiveBorderStyle string? Gets the border style while the pane is active.
Attach bool Gets whether the new pane becomes active.
Command string? Gets the command the new pane runs.
Direction PaneDirection? Gets where the new pane goes.
Empty bool Gets whether the pane starts with no command.
Environment IReadOnlyDictionary<string, string>? Gets the environment entries set on the new pane.
ExpectedWindowId WindowId? Gets the window that must contain the target pane at dispatch.
FullWindow bool Gets whether the split spans the whole window.
InactiveBorderStyle string? Gets the border style while it is not.
KeepOpen bool Gets whether the pane stays after its command exits.
Message string? Gets the message shown in the pane.
Percentage int? Gets the size as a percentage of the window.
Size string? Gets the explicit size in cells.
StartDirectory string? Gets the working directory for the new pane.
Style string? Gets the pane style.
Target string? Gets the pane to split, or null for the active one.
Zoom bool Gets whether the new pane is zoomed.

Members1 members

  • ToCommand Returns a split request as one tmux command.
Esc
Search in

Type to search.

Reference previewOpen reference