pub fn setup_terminal() -> Result<Terminal<CrosstermBackend<Stdout>>>Expand description
Set up the terminal for TUI rendering.
Enables raw mode, mouse capture, and switches to the alternate screen buffer.
pub fn setup_terminal() -> Result<Terminal<CrosstermBackend<Stdout>>>Set up the terminal for TUI rendering.
Enables raw mode, mouse capture, and switches to the alternate screen buffer.