Add FAQ for terminal getting messed up on panic
See https://discord.com/channels/1070692720437383208/1072907135664529508/1226403628202332255 for details
This should mostly point at resources to fix this
For the next person wondering, this has since been implemented in the default init:
let mut terminal = ratatui::init();
Per doc string:
/// This will create a new [
DefaultTerminal] and initialize it with the following defaults: /// /// - Backend: [CrosstermBackend] writing to [Stdout] /// - Raw mode is enabled /// - Alternate screen buffer enabled /// - A panic hook is installed that restores the terminal before panicking. Ensure that this method /// is called after any other panic hooks that may be installed to ensure that the terminal is /// restored before those hooks are called.
so these docs should probably get updated to: https://ratatui.rs/recipes/apps/panic-hooks/