Expand description
Discover WezTerm panes and build command strings for sending text, submitting input or activating panes.
Query panes (wezterm cli list) and generate shell‑safe strings for actions. Helpers locate sibling
panes in the same tab by title and derive absolute working directories from file URIs.
Structs§
- Wezterm
Pane - Represents a
WezTermpane with all its properties and state information. - Wezterm
Pane Size - Represents the size and dimensions of a
WezTermpane.
Functions§
- activate_
pane_ cmd - Generates a command string to activate a specific
WeztermPaneusing theWezTermCLI. - get_
all_ panes - Retrieves all
WezTermpanes using theWezTermCLI. - get_
current_ pane_ id - Retrieves the current pane ID from the
WEZTERM_PANEenvironment variable. - get_
sibling_ pane_ with_ titles - Finds a sibling
WeztermPanein the same tab that matches one of the given titles. - send_
text_ to_ pane_ cmd - Generates a command string to send text to a specific
WeztermPaneusing theWezTermCLI. - submit_
pane_ cmd - Generates a command string to submit (send a carriage return) to a specific
WeztermPane.