# libtmux.Pane

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/entity.lua#L476
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-pane/

A tmux pane.

## Members

### Common operations

- [`capture`](/en/lua/v0.1.1/reference/libtmux-pane-capture/) (method)
- [`send_keys`](/en/lua/v0.1.1/reference/libtmux-pane-send_keys/) (method)
- [`split`](/en/lua/v0.1.1/reference/libtmux-pane-split/) (method)
- [`respawn`](/en/lua/v0.1.1/reference/libtmux-pane-respawn/) (method)
- [`kill`](/en/lua/v0.1.1/reference/libtmux-pane-kill/) (method)
- [`select`](/en/lua/v0.1.1/reference/libtmux-pane-select/) (method)
- [`break_out`](/en/lua/v0.1.1/reference/libtmux-pane-break_out/) (method)
- [`clear_history`](/en/lua/v0.1.1/reference/libtmux-pane-clear_history/) (method)
- [`set_title`](/en/lua/v0.1.1/reference/libtmux-pane-set_title/) (method)
- [`paste_buffer`](/en/lua/v0.1.1/reference/libtmux-pane-paste_buffer/) (method)
- [`resize`](/en/lua/v0.1.1/reference/libtmux-pane-resize/) (method)
- [`swap`](/en/lua/v0.1.1/reference/libtmux-pane-swap/) (method)
- [`copy_mode`](/en/lua/v0.1.1/reference/libtmux-pane-copy_mode/) (method)
- [`move_to`](/en/lua/v0.1.1/reference/libtmux-pane-move_to/) (method)
- [`wait_for_text`](/en/lua/v0.1.1/reference/libtmux-pane-wait_for_text/) (method)
- [`capture_to_buffer`](/en/lua/v0.1.1/reference/libtmux-pane-capture_to_buffer/) (method)
- [`copy_command`](/en/lua/v0.1.1/reference/libtmux-pane-copy_command/) (method)
- [`send_text`](/en/lua/v0.1.1/reference/libtmux-pane-send_text/) (method)

## Inherited members

- [`list_hooks`](/en/lua/v0.1.1/reference/libtmux-pane-list_hooks/) (method), inherited from `libtmux.Configurable`
- [`set_option`](/en/lua/v0.1.1/reference/libtmux-pane-set_option/) (method), inherited from `libtmux.Configurable`
- [`unset_option`](/en/lua/v0.1.1/reference/libtmux-pane-unset_option/) (method), inherited from `libtmux.Configurable`
- [`get_option`](/en/lua/v0.1.1/reference/libtmux-pane-get_option/) (method), inherited from `libtmux.Configurable`
- [`set_hook`](/en/lua/v0.1.1/reference/libtmux-pane-set_hook/) (method), inherited from `libtmux.Configurable`
- [`unset_hook`](/en/lua/v0.1.1/reference/libtmux-pane-unset_hook/) (method), inherited from `libtmux.Configurable`
- [`get_hook`](/en/lua/v0.1.1/reference/libtmux-pane-get_hook/) (method), inherited from `libtmux.Configurable`
- [`list_options`](/en/lua/v0.1.1/reference/libtmux-pane-list_options/) (method), inherited from `libtmux.Configurable`
- [`reference`](/en/lua/v0.1.1/reference/libtmux-pane-reference/) (method), inherited from `libtmux.Entity`
- [`run_hook`](/en/lua/v0.1.1/reference/libtmux-pane-run_hook/) (method), inherited from `libtmux.Configurable`
- [`snapshot`](/en/lua/v0.1.1/reference/libtmux-pane-snapshot/) (method), inherited from `libtmux.Entity`

## Guides

Pages that discuss `Pane`.

- [Capture server state](/en/lua/v0.1.1/guides/snapshots/)

## In other ports

A tmux pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane`](/en/py/latest/reference/libtmux-pane/) (class) |
| Ruby | [`LibTmux::Pane`](/en/ruby/latest/reference/libtmux-pane-14z6/) (class) |
| PowerShell | [`LibTmux\Get-TmuxPane`](/en/powershell/latest/reference/libtmux-get-tmuxpane/) (cmdlet). This cmdlet reads shared .NET `LibTmux.Pane` objects. Its [`-Server`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Server), [`-Session`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Session), and [`-Window`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Window) parameter sets select the scope. |
| Julia | [`LibTmux.PaneSnapshot`](/en/julia/latest/reference/libtmux-panesnapshot/) (struct). `PaneSnapshot` holds captured pane data. Actions use its `PaneRef`; `PaneOccurrence` adds a window placement in a session. |
| Elixir | [`LibTmux.Pane`](/en/elixir/latest/reference/libtmux-pane/) (struct). `Pane` is an immutable physical pane observation. It does not send keys or capture text. |
| TypeScript | [`pane.Pane`](/en/ts/latest/reference/pane-pane/) (class) |
| Rust | [`pane.Pane`](/en/rs/latest/reference/pane-pane/) (struct) |
| Go | [`tmux.Pane`](/en/go/latest/reference/tmux-pane/) (struct) |
| Java | [`io.github.libtmux.Pane`](/en/java/latest/reference/io-github-libtmux-pane-pane/) (class) |
| Kotlin | [`io.github.libtmux.kotlin.Pane`](/en/kotlin/latest/reference/io-github-libtmux-kotlin-pane/) (class) |
| Scala | [`io.github.libtmux.scaladsl.Pane`](/en/scala/latest/reference/io-github-libtmux-scaladsl-pane/) (typealias) |
| C# | [`LibTmux.Pane`](/en/csharp/latest/reference/libtmux-pane/) (class) |
| F# | [`LibTmux.FSharp.Pane`](/en/fsharp/latest/reference/libtmux-fsharp-pane/) (module). This F# module reads captured fields and starts explicit operations on the shared .NET `LibTmux.Pane` type. |
| C++ | [`libtmux::Pane`](/en/cxx/latest/reference/libtmux-pane/) (class) |
| Swift | [`Pane`](/en/swift/latest/reference/pane/) (struct) |
