diff options
Diffstat (limited to 'demo.c')
-rw-r--r-- | demo.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,7 +14,8 @@ int main(int argc, char *argv[]) { } int old_lflag = termios.c_lflag; - termios.c_lflag &= ~(ICANON|ECHO); + termios.c_iflag &= ~(IXON|INLCR|ICRNL); + termios.c_lflag &= ~(ICANON|ECHO|ISIG); tcsetattr(0, TCSANOW, &termios); |