Structs§
- TuiPanic
Guard - A guard struct that automatically registers and unregisters TUI state with the panic hook system.
Functions§
- drain_
pending_ terminal_ input - Drains terminal input that arrived after the TUI stopped reading it.
- ensure_
raw_ mode_ disabled - Best-effort raw-mode release for post-TUI stdout postambles.
- finish_
deferred_ raw_ mode_ restore - Finish a deferred raw-mode restore as the last act of a graceful exit.
- init_
panic_ hook - Initialize the panic hook to restore terminal state on panic and provide better formatting.
- print_
error_ report - Print an application error using color-eyre when enabled, otherwise fallback formatting.
- restore_
tui - Restore terminal to a usable state after a panic or error.
- restore_
tui_ keep_ raw_ mode - Restore every escape-sequence mode but deliberately keep raw mode.
- set_
app_ metadata - set_
color_ eyre_ enabled - set_
debug_ mode - set_
show_ diagnostics