Skip to main content

select_terminal

Function select_terminal 

Source
pub fn select_terminal(
    parent_chain: &[String],
    path_has: &dyn Fn(&str) -> bool,
    windows: bool,
) -> Option<Terminal>
Expand description

FIRST the terminal found by walking the parent process names (nearest first), and ONLY when no parent matches the first of the four on PATH, in the spec’s order. Windows: wt when on PATH.