Function bottom::panic_hook
source · pub fn panic_hook(panic_info: &PanicInfo<'_>)Expand description
A panic hook to properly restore the terminal in the case of a panic. Originally based on spotify-tui’s implementation.
pub fn panic_hook(panic_info: &PanicInfo<'_>)A panic hook to properly restore the terminal in the case of a panic. Originally based on spotify-tui’s implementation.