Pane.find_window
Search for a window matching a string via $ tmux find-window.
Source and package
- Qualified name
-
libtmux.Pane. find _window - 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
- find_window ( self, match_string: str, match_content: bool | None = None, case_insensitive: bool | None = None, match_name: bool | None = None, regex: bool | None = None, match_title: bool | None = None, ) None
-
Description#
Opens a choose-tree filtered to matching windows.
Examples#
>>> pane.find_window('sh')- Parameters
-
-
match_string(str) # – String to search for in window names, titles, and content. -
match_content(bool | None) # – Match visible pane content (-Cflag). -
case_insensitive(bool | None) # – Case-insensitive matching (-iflag). -
match_name(bool | None) # – Match window name only (-Nflag). -
regex(bool | None) # – Treat match string as a regex (-rflag). -
match_title(bool | None) # – Match pane title (-Tflag).
-
tmux command#
The tmux commands behind find_window.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Search windows interactively from 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#.