pub fn get_sibling_pane_with_titles(
panes: &[WeztermPane],
current_pane_id: i64,
pane_titles: &[&str],
) -> Result<WeztermPane>Expand description
Finds a sibling WeztermPane in the same tab that matches one of the given titles.
ยงErrors
- No pane in the same tab matches any of
pane_titles. - The current pane ID is not present in
panes.