Pane.choose_tree
Enter tree chooser via $ tmux choose-tree.
Source and package
- Qualified name
-
libtmux.Pane. choose _tree - Module
- libtmux
- Declared in
Pane- Package
- libtmux
- Source
- src/libtmux/pane.py
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Ruby Lua TypeScript Rust Go Java C# C++ Swift Kotlin Scala OCaml F# Clojure
- choose_tree ( self, sessions_collapsed: bool | None = None, windows_collapsed: bool | None = None, format_string: str | None = None, filter_expression: str | None = None, sort_order: t
.Literal ["index", "name", "time", "size"] | None = None, reverse: bool | None = None, zoom: bool | None = None, ) None -
Examples#
>>> pane.choose_tree()- Parameters
-
-
sessions_collapsed(bool | None) # – Start with sessions collapsed (-sflag). -
windows_collapsed(bool | None) # – Start with windows collapsed (-wflag). -
format_string(str | None) # – Format for each item shown in the chooser (-Fflag). -
filter_expression(str | None) # – Filter expression evaluated per item; only items whose filter expands non-zero are shown (-fflag). -
sort_order(t.Literal ["index", "name", "time", "size"] | None) # – Sort field (-Oflag). -
zoom(bool | None) # – Zoom the pane while the chooser is active (-Zflag).
-
tmux command#
The tmux commands behind choose_tree.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Open the session and window chooser in a pane
| Language | Equivalent |
|---|---|
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | no equivalent on Pane |
| Go | tmux |
| Java | no equivalent on Pane |
| C# | Lib |
| C++ | no equivalent on Pane |
| Swift | no equivalent on Pane |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.