# LibTmux.Pane

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Pane.cs#L4
- **Page:** https://libtmux.org/reference/dotnet/libtmux-pane/

Represents an immutable pane handle and snapshot.

## 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.
- `BuildPipePaneArguments` (method)
- `BuildCaptureArguments` (method)
- `Pane` (method)
- `ExecuteCommandAsync` (method) — Executes one raw tmux command against this pane.
- `BuildDisplayPopupArguments` (method) — Builds the arguments a popup request sends.
- `BuildChooseTreeArguments` (method) — Builds the arguments a chooser request sends.
- `BuildCopyModeArguments` (method) — Builds the arguments a copy-mode request sends.
- `BuildFindWindowArguments` (method)
- `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.
- `Snapshot` (property) — Gets the tmux fields captured when this handle materialized, or null when none were.
- `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)
- `BuildSendKeysArguments` (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.
- `BuildPasteBufferArguments` (method) — Builds the arguments a paste request sends.
- `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.
- `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.
- `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.
- `BuildRespawnPaneArguments` (method)
- `BuildNewPaneArguments` (method) — Builds the arguments a floating-pane request sends.
- `BuildSplitArguments` (method) — Builds the arguments a split request sends.
- `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.
- `BuildSwapPaneArguments` (method)
- `BuildResizePaneArguments` (method)
- `BuildSelectPaneArguments` (method)
- `BuildRehomeArguments` (method)
