get_current_pane_id

Function get_current_pane_id 

Source
pub fn get_current_pane_id() -> Result<i64>
Expand description

Retrieves the current pane ID from the WEZTERM_PANE environment variable.

ยงErrors

  • A required environment variable is missing or invalid Unicode.
  • WEZTERM_PANE cannot be parsed as an integer.
  • WEZTERM_PANE is unset.