pub fn init_panic_hook<F>(f: F)
Expand description
configure custom panic hook that disables terminal raw mode supply a closure that will be called when a panic occurs giving an opportunity to output a custom message. The closure should return a desirable process exit code.