enableRawMode method
Enables raw mode which allows us to process each keypress as it comes in. https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html
Implementation
@override
void enableRawMode() {
final dwMode =
(~ENABLE_ECHO_INPUT) &
(~ENABLE_PROCESSED_INPUT) &
(~ENABLE_LINE_INPUT) &
(~ENABLE_WINDOW_INPUT);
SetConsoleMode(
inputHandle,
CONSOLE_MODE(dwMode | ENABLE_VIRTUAL_TERMINAL_INPUT),
);
}