exitAltScreen method
Exits the alternate screen buffer.
Restores the previous screen content and cursor position.
Implementation
@override
void exitAltScreen() {
erase();
setRelativeCursor(true);
setFullscreen(false);
_buf.write(UvAnsi.resetModeAltScreenSaveCursor);
restoreCursor();
}