Skip to main content

is_tui_session

Function is_tui_session 

Source
pub fn is_tui_session(tui_flag: bool) -> bool
Available on crate feature cli-tui only.
Expand description

--tui was passed and stdout is a real terminal — the full-screen UI applies. On a non-TTY the caller degrades to a plain run.