Skip to main content

interactive

Function interactive 

Source
pub fn interactive() -> bool
Expand description

True when the current stdin/stdout pair can host an interactive picker. Never auto-launches inside a pipe or non-tty context (tests, --json).