# LibTmux::Model::Pane.in-mode

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Fields.rakumod#L112
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-pane-in-mode/

```
method in-mode(--> Count:D)
```

Captured [`pane_in_mode`](/en/tmux/latest/catalog/formats/pane_in_mode/); local uint access.

Captured [`pane_in_mode`](/en/tmux/latest/catalog/formats/pane_in_mode/); local uint access.

## In other ports

Whether the pane is in a mode

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.pane_in_mode`](/en/py/latest/reference/libtmux-pane-pane_in_mode/) (attribute) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on `Pane` |
| Rust | [`pane.Pane.is_in_mode`](/en/rs/latest/reference/pane-pane-is_in_mode/) (method) |
| Go | [`tmux.Pane.InMode`](/en/go/latest/reference/tmux-pane-inmode/) (method) |
| Java | `Pane.mode` names the mode rather than reporting a flag |
| C# | no equivalent on `Pane` |
| C++ | [`libtmux::Pane::in_mode`](/en/cxx/latest/reference/libtmux-pane-in_mode-blbb/) (method) |
| 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#.
