pub fn init() -> Result<TuiLogGuard>Expand description
Initialize the TUI logging subsystem. Idempotent across re-entry by way
of set_default — if a global subscriber is already set we still install
the stderr redirect.
Returns a guard that must outlive the alt-screen session. Drop it after
LeaveAlternateScreen so any shutdown messages reach the user.