end method
void
end()
Ends the terminal session and restores state.
Implementation
void end() {
if (!_active) return;
_termState?.restore();
if (hideCursor) TerminalControl.showCursor();
_active = false;
}
Ends the terminal session and restores state.
void end() {
if (!_active) return;
_termState?.restore();
if (hideCursor) TerminalControl.showCursor();
_active = false;
}