disableRawMode method
Disables raw mode and restores the terminal’s original attributes.
Implementation
@override
void disableRawMode() {
if (_origInputMode != null) {
SetConsoleMode(inputHandle, CONSOLE_MODE(_origInputMode!));
_origInputMode = null;
}
if (_origOutputMode != null) {
SetConsoleMode(outputHandle, CONSOLE_MODE(_origOutputMode!));
_origOutputMode = null;
}
}