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.

Go API

struct libtmux-go latest

PaneSwapResult

PaneSwapResult contains original stable pane identities in their post-swap exact linked-pane views. Its zero value contains no usable endpoints. Target is zero for a directional swap because tmux does not report the adjacent pane identity.

Source and package
Qualified name
tmux.PaneSwapResult
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_pane_swap.go
struct tmux.PaneSwapResult

Fields2#

PaneSwapResult fields
NameTypeDescription
Pane Pane Pane is the receiver's original PaneID at its post-swap exact view.
Target Pane Target is the explicit target's original PaneID at its post-swap exact view, or zero after a directional swap.
Esc

Type to search.

Reference previewOpen reference