Skip to main content

is_interactive_session

Function is_interactive_session 

Source
pub fn is_interactive_session() -> bool
Expand description

Check if the application is running in an interactive TTY context.

This is useful for deciding whether to use rich terminal features or fall back to plain text output.