pub fn enter_alternate_screen() -> Result<()>Expand description
Enter the alternate screen buffer.
This preserves the current terminal content and provides a clean screen for TUI rendering. When the TUI exits, the original content can be restored.
ยงErrors
Returns an error if the alternate screen cannot be entered.