install

Function install 

Source
pub fn install()
Expand description

Install a panic handler that will restore the terminal on panic

This should be called at the start of your program, before entering the TUI.

ยงExample

use hojicha_runtime::panic_handler;

panic_handler::install();
// ... run your TUI application