You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the next person wondering, this has since been implemented in the default init:
letmut 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.
See https://discord.com/channels/1070692720437383208/1072907135664529508/1226403628202332255 for details
This should mostly point at resources to fix this
The text was updated successfully, but these errors were encountered: