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.

struct libtmux-go latest

ChooseTreeRequest

ChooseTreeRequest configures the interactive session and window chooser. Its zero value uses tmux defaults. Format and Filter are copied before execution and must not be mutated concurrently.

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

Fields7#

ChooseTreeRequest fields
NameTypeDescription
Filter *TmuxFilter Filter is a tmux format expression whose truth value selects tree items. Nil omits filtering; nonnil empty remains an explicit expression.
Format *string Format is a tmux format expression evaluated for each tree item. Nil leaves the configured format; nonnil empty remains an explicit format.
Reverse bool Reverse reverses the initial tree ordering.
SessionsCollapsed bool SessionsCollapsed starts with session nodes collapsed.
Sort TreeSortOrder Sort selects the initial ordering. Unknown values are rejected before execution.
WindowsCollapsed bool WindowsCollapsed starts with window nodes collapsed.
Zoom bool Zoom zooms the chooser pane while tree mode is active.
Esc

Type to search.

Reference previewOpen reference