# libtmux::Pane

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L554
- **Page:** https://libtmux.org/reference/cxx/libtmux-pane/

## Members

- `kNoun` (attribute)
- `kSessionNameField` (attribute)
- `kFields` (attribute)
- `Pane` (method)
- `id` (method)
- `command` (method) — What is running in the pane now, which is not what started it.
- `active` (method)
- `window_id` (method)
- `session_id` (method)
- `index` (method)
- `title` (method)
- `pid` (method)
- `tty` (method)
- `path` (method)
- `width` (method)
- `height` (method)
- `dead` (method) — A pane whose program exited while `remain-on-exit` kept it on screen.
- `in_mode` (method) — Copy mode and its relatives, in which sent keys move the cursor rather than reaching the program.
- `at_top` (method)
- `at_bottom` (method)
- `at_left` (method)
- `at_right` (method)
- `piping` (method) — Whether this pane's output is currently being copied to a command.
- `session_name` (method) — The owning psmux route carried by Windows live snapshots.
- `window` (method)
- `session` (method)
- `send_text` (method) — Literal text, never interpreted as key names or formats, and never followed by a newline the caller did not ask for.
- `send_key` (method)
- `capture` (method) — The visible contents, as tmux printed them.
- `set_width` (method)
- `set_height` (method)
- `swap_with` (method)
- `break_out` (method) — Take this pane out into a window of its own, which is returned.
- `join` (method) — Move this pane into another window, splitting it.
- `enter_copy_mode` (method) — Forget the scrollback, which is the only way to bound a pane's memory without restarting what is running in it.
- `leave_mode` (method) — Leave whatever mode the pane is in.
- `pipe_to` (method) — Copy everything this pane prints to a shell command, until told to stop.
- `stop_piping` (method) — Stop copying. Harmless on a pane that was not piping.
- `set_title` (method) — Name this pane.
- `respawn` (method) — Start the pane's command again.
- `clear_history` (method)
- `expand` (method) — Ask tmux to expand a format against this pane.
- `show_message` (method) — Show a message to the clients watching this pane's session, expanded against this pane.
- `paste` (method) — Deliver a buffer's text to this pane, as if it had been typed.
- `select` (method)
- `kill` (method)
- `refresh` (method)
- `options` (method) — Pane options, the narrowest scope tmux has, and the end of an inheritance chain that runs pane, window, session, global.
- `option` (method)
- `set_option` (method)
- `unset_option` (method)
