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

class libtmux-dotnet

SwapPaneRequest

Describes one swap-pane invocation.

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

Description

tmux replaces a named source with the neighbour whenever a direction is given, so sending both would quietly drop the name.

Properties4

SwapPaneRequest properties
NameTypeDescription
Detach bool Gets whether the swapped pane is left unselected.
Direction PaneSwapDirection? Gets the neighbour to swap with instead.
KeepZoom bool Gets whether a zoomed pane stays zoomed.
Target string? Gets the pane to swap with.

Members1 members

  • ToCommand Returns a pane-swap request as one tmux command.
Esc
Search in

Type to search.

Reference previewOpen reference