Skip to content
Snippets Groups Projects
Commit 05323424 authored by deuce's avatar deuce
Browse files

Set console raw on Windows too. This will break ^C handling just like it's

broken on *nix now.
parent f57634f0
No related branches found
No related tags found
No related merge requests found
......@@ -1081,6 +1081,8 @@ int main(int argc, char **argv, char** environ)
term = orig_term;
raw_input(&term);
tcsetattr(fileno(stdin), TCSANOW, &term);
#else
SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), 0);
#endif
statfp=stderr;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment