pubmodcolors;pubmodtable;pubmodtui;/// Returns true if we should launch the TUI (stdout is a terminal and not suppressed).
pubfnshould_use_tui(no_tui:bool)->bool{if no_tui {returnfalse;}// Check if stdout is a real terminal
uselibc::{STDOUT_FILENO, isatty};unsafe{isatty(STDOUT_FILENO)!=0}}