Use raw mode instead of cbreak mode, otherwise ctrl+q doesn't appear to work right

Wed, 27 May 2015 21:44:42 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Wed, 27 May 2015 21:44:42 +0300
changeset 86
3c02a728a681
parent 85
ed61569c501f
child 87
53c2aecb9704

Use raw mode instead of cbreak mode, otherwise ctrl+q doesn't appear to work right

sources/interface.cpp file | annotate | diff | comparison | revisions
--- a/sources/interface.cpp	Wed May 27 21:42:47 2015 +0300
+++ b/sources/interface.cpp	Wed May 27 21:44:42 2015 +0300
@@ -149,7 +149,7 @@
     ::initscr();
 #endif
 
-	::cbreak();
+	::raw();
 	::keypad (stdscr, true);
 	::noecho();
 	::refresh();

mercurial