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.

method libtmux-go latest

Plan.SwapPane

SwapPane records the panes target and source name exchanging places.

Source and package
Qualified name
tmux.Plan.SwapPane
Package
tmux
Declared in
Plan
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/plan_pane.go
func (p *Plan) SwapPane( target, source Ref, detach, keepZoom bool, )

Description#

Both panes are Refs so either may be created by an earlier step. Detach leaves active selection alone; KeepZoom preserves a zoomed window.

Parameters
Esc

Type to search.

Reference previewOpen reference