# LibTmux.Pane

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Pane.cs#L9
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-pane/

Represents an immutable pane handle and snapshot.

Thread-safe: the handle is immutable once constructed and may be shared
freely, including as a singleton. Every mutating call answers a new handle
rather than changing this one.

## Members

- `CaptureAsync` (method): Reads the pane's contents.
- `CaptureToBufferAsync` (method): Captures the pane's contents into a tmux buffer.
- `PipeAsync` (method): Pipes the pane's input or output through a command.
- `ExecuteCommandAsync` (method): Executes one raw tmux command against this pane.
- `DisplayPopupAsync` (method): Shows a popup over the client viewing this pane.
- `DisplayPaneNumbersAsync` (method): Shows the pane numbers on every client.
- `DisplayMessageAsync` (method): Shows a message on the client viewing this pane.
- `EnterCopyModeAsync` (method): Puts the pane into copy mode.
- `EnterClockModeAsync` (method): Puts the pane into clock mode.
- `EnterCustomizeModeAsync` (method): Puts the pane into customize mode.
- `ChooseBufferAsync` (method): Opens the buffer chooser in this pane.
- `ChooseClientAsync` (method): Opens the client chooser in this pane.
- `ChooseTreeAsync` (method): Opens the session tree chooser in this pane.
- `FindWindowAsync` (method): Opens the window finder in this pane.
- `FromEnvironmentAsync` (method): Returns the pane this process was spawned in.
- `RawFormatFields` (property): Gets the tmux fields captured when this handle materialized.
- `Id` (property): Gets the pane identifier.
- `Generation` (property): Gets the server generation captured with this pane.
- `Equals` (method)
- `GetHashCode` (method)
- `SendKeysAsync` (method): Sends keys to the pane.
- `SendTextAsync` (method): Types text into the pane.
- `SendPrefixAsync` (method): Sends the configured prefix key to the pane.
- `EnterAsync` (method): Presses Enter in the pane.
- `ClearAsync` (method): Clears the pane by running the shell's reset.
- `ResetAsync` (method): Resets the pane's terminal state and drops its history.
- `ClearHistoryAsync` (method): Drops the pane's scrollback history.
- `PasteBufferAsync` (method): Pastes a tmux buffer into the pane.
- `Server` (property): Gets the server that owns this pane.
- `Session` (property): Gets the session containing this pane.
- `Window` (property): Gets the window containing this pane, with captured scalar state.
- `Options` (property): Gets the options of this pane.
- `Hooks` (property): Gets the hooks of this pane.
- `AtTop` (property): Gets whether the pane touches the top of its window.
- `AtBottom` (property): Gets whether the pane touches the bottom of its window.
- `AtLeft` (property): Gets whether the pane touches the left of its window.
- `AtRight` (property): Gets whether the pane touches the right of its window.
- `Height` (property): Gets the pane height captured with this handle.
- `Width` (property): Gets the pane width captured with this handle.
- `Left` (property): Gets the pane's left offset, in cells, from its window's edge.
- `Top` (property): Gets the pane's top offset, in cells, from its window's edge.
- `Index` (property): Gets the index this pane holds in its window.
- `Title` (property): Gets the pane title captured with this handle.
- `RefreshAsync` (method): Re-reads this pane from tmux.
- `BreakAsync` (method): Moves this pane out into a window of its own.
- `SplitAsync` (method): Splits this pane.
- `CreatePaneAsync` (method): Creates a floating pane against this one.
- `JoinAsync` (method): Joins this pane into another window.
- `MoveAsync` (method): Moves this pane to another position.
- `SwapAsync` (method): Swaps this pane with another.
- `KillAsync` (method): Stops this pane.
- `RespawnAsync` (method): Restarts the command running in this pane.
- `ResizeAsync` (method): Resizes this pane.
- `SetWidthAsync` (method): Sets this pane's width.
- `SetHeightAsync` (method): Sets this pane's height.
- `SetTitleAsync` (method): Sets this pane's title.
- `SelectAsync` (method): Selects this pane.
