# LibTmux::Model::Pane.tty

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Fields.rakumod#L92
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-pane-tty/

```
method tty(--> Str:D)
```

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

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

## In other ports

A pane's controlling terminal

| Language | Equivalent |
| --- | --- |
| Python | no equivalent on `Pane` |
| Lua | [`libtmux.SnapshotPane.tty`](/en/lua/latest/reference/libtmux-snapshotpane-tty/) (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.tty`](/en/rs/latest/reference/pane-pane-tty/) (method) |
| Go | [`tmux.Pane.TTY`](/en/go/latest/reference/tmux-pane-tty/) (method) |
| Java | no equivalent on `Pane` |
| C# | no equivalent on `Pane` |
| C++ | [`libtmux::Pane::tty`](/en/cxx/latest/reference/libtmux-pane-tty-1z0j/) (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, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.
