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

attribute libtmux-go latest

NewWindowRequest.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.

Source and package
Qualified name
tmux.NewWindowRequest.Direction
Package
tmux
Declared in
NewWindowRequest
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/window_lifecycle.go
Esc

Type to search.

Reference previewOpen reference