libtmux Reference MCP Search
On this page

io.github.libtmux.Pane.Pane.findWindow

View as Markdown

Module
io.github.libtmux.Pane
Declared in
Pane
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Pane.java
findWindow ( match : String ) void ( configure : Consumer<FindSpec.Builder> ) void ( spec : FindSpec ) void
methodoverload3 overloads [source]
methodoverload3 overloads [source]
findWindow

Puts this pane into the window browser, showing only the windows matching some text.

<p>Despite the name, this finds nothing and goes nowhere: tmux opens the same tree the other choosers use, narrowed to what matched, and leaves the active window where it was. A caller wanting to act on a match should filter Server#windows() instead.

<p>A match that finds nothing is not reported. The pane enters the browser either way, so #mode() cannot tell the two apart and neither can an exit status.

<p>Matches a window's name, its title and its visible content, which is what tmux does when told nothing more specific.

0 declared, 0 inherited

Esc

Type to search.