window: enable nonl and use raw terminal mode

This commit is contained in:
Andrzej Rybczak
2014-09-03 20:45:29 +02:00
parent 322baa5989
commit fb0b2158e3
3 changed files with 6 additions and 2 deletions

View File

@@ -152,6 +152,8 @@ int main(int argc, char **argv)
# ifndef WIN32
signal(SIGPIPE, sighandler);
signal(SIGWINCH, sighandler);
// ignore Ctrl-C
sigignore(SIGINT);
# endif // !WIN32
while (!Actions::ExitMainLoop)