libtmux Reference MCP Search
On this page

tmux.NewWindowRequest.Direction

View as Markdown

Module
tmux
Declared in
NewWindowRequest
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_lifecycle.go
Direction : NewWindowDirection
attribute [source]
attribute [source]
Direction

Direction places the new winlink relative to the target. Its zero value uses tmux's next free index with Session.NewWindow when Index is nil, but keeps Window.NewWindow on the receiver's occupied target. Use NewWindowDirectionAfter or NewWindowDirectionBefore for non-destructive relative creation through Window.NewWindow.

0 declared, 0 inherited

Esc

Type to search.