Pane.is_in_mode
Report whether the pane is in copy mode or another pane mode.
Source and package
-
Description#
tmux reports this as a count rather than a flag, so any nonzero value means the pane has a mode open.
In other ports#
Whether the pane is in a mode
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Pane |
| Go | tmux |
| Java | Pane.mode names the mode rather than reporting a flag |
| C# | no equivalent on Pane |
| C++ | libtmux:: |
| 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#.