libtmux Reference MCP Search
On this page

server.interactive.Server.find_window

View as Markdown

Module
server.interactive
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server/interactive.rs
find_window ( self , client : Option<&Client> , search : &str ) Result<(), Error>
method [source]
method [source]
find_window

Open tmux's window finder for a search string.

This is separate from Server::choose because it needs something to search for, where the other choosers list what already exists. Like them it opens in a pane rather than on a client, so it needs no client and leaves the pane in tree-mode on a server nothing is attached to.

Errors

Returns Error::ServerMismatch when the client belongs to another server, or an error when tmux refuses the command. A missing client is not one: this does not need one.

0 declared, 0 inherited

Esc

Type to search.