Pane.findWindow
Search windows interactively from this pane.
Source and package
-
Description#
The promise resolves once the mode is on screen, not once someone has chosen: tmux answers this command as soon as it opens the mode. Bind a tmux command to the selection to act on what was picked.
tmux needs a client attached to the session to draw this. With none, it does nothing and reports success, so a headless run is told it worked.
Examples#
await pane.findWindow("editor");
tmux command#
The tmux commands behind findWindow.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Search windows interactively from a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | no equivalent on Pane |
| Go | tmux |
| Java | no equivalent on Pane |
| C# | Lib |
| C++ | no equivalent on Pane |
| Swift | no equivalent on Pane |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.