# io.github.libtmux.Pane.Pane

- **Module:** io.github.libtmux.Pane
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Pane.java#L22
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-pane-pane/

One tmux pane, as one capture saw it.

<p>Identity is the server and the pane id. An index is state: panes renumber as neighbours come
and go.

## Members

- `Pane` (method)
- `id` (method) — The pane's stable id.
- `index` (method) — The pane's position, which shifts as neighbours come and go.
- `active` (method) — Whether this was its window's active pane when captured.
- `currentCommand` (method) — The command tmux reported running here.
- `floating` (method) — Whether this pane floats, or empty when the running tmux cannot say.
- `size` (method) — How large the pane was when captured, in terminal cells.
- `title` (method) — The pane title, which a program running inside it can change.
- `currentPath` (method) — The working directory tmux reported for the pane.
- `pid` (method) — The process id of the program running in the pane.
- `resize` (method) — Grows this pane by a number of cells in one direction.
- `edges` (method) — Which sides of its window the pane touches.
- `copyMode` (method) — Puts this pane into copy mode, where its scrollback can be navigated.
- `mode` (method) — Which mode this pane is in at this moment, or empty when it is in none.
- `clockMode` (method) — Shows a clock in this pane.
- `chooseTree` (method) — Puts this pane into the session and window browser.
- `customizeMode` (method) — Puts this pane into the option browser.
- `chooseBuffer` (method) — Puts this pane into the paste-buffer browser.
- `chooseClient` (method) — Puts this pane into the client browser, or leaves it alone when no client is attached.
- `findWindow` (method) — Puts this pane into the window browser, showing only the windows matching some text.
- `exitMode` (method) — Leaves whichever mode this pane is in.
- `select` (method) — Makes this the active pane of its window.
- `retitle` (method) — Retitles this pane and returns a handle on it as it is now.
- `resizeTo` (method) — Resizes this pane.
- `server` (method) — The server this pane lives on.
- `batch` (method) — Collects commands fenced to the server incarnation that produced this pane.
- `snapshot` (method)
- `window` (method) — The window link this pane was reached through. A pure read of the capture.
- `hooks` (method) — This pane's own hooks.
- `options` (method) — This pane's own options.
- `capture` (method) — This pane's visible content, one element per line.
- `send` (method) — Sends keys to this pane without pressing Enter.
- `sendLine` (method) — Sends a line to this pane and presses Enter, which is how a command gets run.
- `breakOut` (method) — Moves this pane into a window of its own, leaving tmux to name it.
- `expand` (method) — Expands a tmux format in this pane's context, and answers with what it came to.
- `respawn` (method) — Kills whatever runs here and starts the pane's default command again.
- `pipeTo` (method) — Sends everything this pane prints to a shell command, until {@link #stopPiping}.
- `stopPiping` (method) — Stops sending this pane's output anywhere. Doing so twice is not an error.
- `split` (method) — Splits this pane in half, putting the new one below it.
- `created` (method) — Runs a command that reports one new pane, and hands back a handle on it.
- `createdFormat` (method) — The format a creating command reports its new pane through.
- `pasteBuffer` (method) — Pastes a named buffer into this pane, as though it had been typed.
- `paste` (method) — Pastes text into this pane as one block, leaving nothing behind on the server.
- `clearHistory` (method) — Discards this pane's scrollback.
- `swapWith` (method) — Swaps this pane's position with another's.
- `joinTo` (method) — Moves this pane into another window, splitting it.
- `kill` (method) — Closes this pane.
- `refresh` (method) — Takes a new capture and returns this pane as it is now.
- `equals` (method)
- `hashCode` (method)
- `toString` (method)
