Searched refs:_old_console_mode (Results 1 – 1 of 1) sorted by relevance
2278 static DWORD _old_console_mode; // previous GetConsoleMode() result variable2282 const HANDLE in = _get_console_handle(STDIN_FILENO, &_old_console_mode); in stdin_raw_init()2293 DWORD new_console_mode = _old_console_mode & ~(ENABLE_PROCESSED_INPUT | in stdin_raw_init()2319 if (!SetConsoleMode(in, _old_console_mode)) { in stdin_raw_restore()