Searched refs:TerminalSettings (Results 1 – 1 of 1) sorted by relevance
230 static struct TerminalSettings { struct233 } TerminalSettings; variable248 memset(&TerminalSettings, 0, sizeof(TerminalSettings)); in configure_terminal()251 TerminalSettings.hStdOut = GetStdHandle(STD_OUTPUT_HANDLE); in configure_terminal()252 if((TerminalSettings.hStdOut != INVALID_HANDLE_VALUE) in configure_terminal()253 && (GetConsoleMode(TerminalSettings.hStdOut, in configure_terminal()254 &TerminalSettings.dwOutputMode))) { in configure_terminal()255 SetConsoleMode(TerminalSettings.hStdOut, in configure_terminal()256 TerminalSettings.dwOutputMode in configure_terminal()269 SetConsoleMode(TerminalSettings.hStdOut, TerminalSettings.dwOutputMode); in restore_terminal()