pub fn get_all_panes(envs: &[(&str, &str)]) -> Result<Vec<WeztermPane>>Expand description
Retrieves all WezTerm panes using the WezTerm CLI.
The envs parameter is required because WezTerm may not be found in the PATH
when called by the oe CLI when a file path is clicked in WezTerm itself.
ยงErrors
- Invoking
wezterm(list command) fails or returns a non-zero exit status. - Output JSON cannot be deserialized into panes.