diff libgui/qterminal/libqterminal/unix/kpty.cpp @ 19866:409d82472aee

Disable output flow control in the unix terminal with Ctrl-Q/S (bug #42681) * kpty.cpp (KPty::open): Disable output flow control in the unix terminal. Ctrl-S no longer appears to freeze the command window, and Ctrl-Q and Ctrl-S are now available for readline key bindings.
author Mike Miller <mtmiller@ieee.org>
date Fri, 06 Feb 2015 23:15:14 -0500
parents 91805d8ab62f
children 92c0fead20da
line wrap: on
line diff
--- a/libgui/qterminal/libqterminal/unix/kpty.cpp
+++ b/libgui/qterminal/libqterminal/unix/kpty.cpp
@@ -386,6 +386,7 @@
 
   struct ::termios t;
   tcGetAttr(&t);
+  t.c_iflag &= ~IXON;
   t.c_lflag &= ~ECHOCTL;
   tcSetAttr(&t);
   return true;