Fix my last commit; I was testing C-q char, and got the wrong result
authorMiguel de Icaza <miguel@gnome.org>
Sun, 24 Aug 2008 18:07:22 +0000 (18:07 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sun, 24 Aug 2008 18:07:22 +0000 (18:07 -0000)
svn path=/trunk/mono/; revision=111511

mono/metadata/console-io.c

index fa43b24da84fa613768083866164bdb37c80a114..a3dbf4e3519169c773301d7cf7b0abdb3422c289 100644 (file)
@@ -323,7 +323,8 @@ ves_icall_System_ConsoleDriver_TtySetup (MonoString *keypad, MonoString *teardow
                return FALSE;
 
        mono_attr = initial_attr;
-       mono_attr.c_lflag &= ~(ICANON | IXON | IXOFF);
+       mono_attr.c_lflag &= ~(ICANON);
+       mono_attr.c_iflag &= ~(IXON|IXOFF);
        mono_attr.c_cc [VMIN] = 1;
        mono_attr.c_cc [VTIME] = 0;
        if (tcsetattr (STDIN_FILENO, TCSANOW, &mono_attr) == -1)