Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Rust API

Rust documentation

server.Server.find_window

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
server
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.