libtmux Reference MCP Search
On this page

pane.Pane

View as Markdown

Module
pane
Package
libtmux
Source
crates/libtmux/src/pane.rs
struct pane.Pane
structoverload [source]
structoverload [source]
struct pane.Pane

Panes compare by server endpoint and pane id.

Unlike [Window](crate::Window), the discovery link is not part of pane identity: a pane exists in exactly one window, so two handles with the same pane id name the same pane however they were reached.

50 declared, 0 inherited

Members

  • break_out method Move this pane out into a window of its own.
  • clear_history method Clear the pane's scrollback history.
  • clock_mode method Show the clock in this pane.
  • cmd method Run a raw tmux command against this pane.
  • copy_mode method Enter copy mode.
  • current_command method
  • current_path method
  • display method Show a message on the clients viewing this pane's window.
  • exit_mode method Leave copy mode, or any other mode the pane is in.
  • format method Expand a tmux format string in this pane's context.
  • from_env method Find the pane this process is running in.
  • from_env_value method Find a pane from an explicit TMUX_PANE value.
  • height method
  • id method
  • index method
  • is_active method
  • is_at_bottom method
  • is_at_left method
  • is_at_right method
  • is_at_top method
  • is_dead method
  • is_in_mode method
  • is_piped method
  • join_into method Move this pane into another window, beside a pane already there.
  • kill method Kill the pane.
  • new method Build a handle from a hydrated projection.
  • paste_buffer method Paste a buffer's contents into the pane.
  • pid method
  • pipe method Pipe the pane's output to a shell command.
  • refresh method Replace this handle's snapshot with the pane's current state.
  • refreshed method Return a new handle holding the pane's current state.
  • resize method Resize the pane to an exact size in cells.
  • resize_by method Move one edge of the pane by a number of cells.
  • respawn method Restart the pane's command in place.
  • select method Make this pane active in its window.
  • send_key_names method Send tmux key names, such as C-c or Enter.
  • send_keys method Send keys to the pane as if typed.
  • send_line method Send literal text followed by Enter as one dispatch.
  • send_prefix method Send the configured prefix key to the pane.
  • server_identity method Return the identity of the server this pane belongs to.
  • session_id method
  • set_title method Set the pane's title.
  • split method Split this pane, putting a new one beside it.
  • swap_with method Swap this pane's position with another.
  • title method
  • toggle_zoom method Zoom the pane to fill its window, or restore it if it already fills it.
  • tty method
  • width method
  • window method Return the window that contains this pane.
  • window_id method
Esc

Type to search.