pub fn init_panic_hook()Expand description
Initialize the panic hook to restore terminal state on panic and provide better formatting
This function should be called very early in the application lifecycle, before any TUI operations begin.
Follows Ratatui recipe: https://ratatui.rs/recipes/apps/better-panic/