disableRawMode method
Disables raw mode and restores the terminal’s original attributes.
Implementation
@override
void disableRawMode() {
final dwMode =
ENABLE_ECHO_INPUT |
ENABLE_EXTENDED_FLAGS |
ENABLE_INSERT_MODE |
ENABLE_LINE_INPUT |
ENABLE_MOUSE_INPUT |
ENABLE_PROCESSED_INPUT |
ENABLE_QUICK_EDIT_MODE |
ENABLE_VIRTUAL_TERMINAL_INPUT;
SetConsoleMode(inputHandle, CONSOLE_MODE(dwMode));
}