From ed0615e6ac437a3269a384d37c75036ac2cc2f0f Mon Sep 17 00:00:00 2001 From: Jeffrey Morlan Date: Wed, 20 Aug 2008 20:55:39 +0000 Subject: [PATCH] Always set the console's event on any keypress, even in line input mode. svn path=/trunk/; revision=35489 --- reactos/subsystems/win32/csrss/win32csr/conio.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/reactos/subsystems/win32/csrss/win32csr/conio.c b/reactos/subsystems/win32/csrss/win32csr/conio.c index 19223ad0c20..97abfc71d29 100644 --- a/reactos/subsystems/win32/csrss/win32csr/conio.c +++ b/reactos/subsystems/win32/csrss/win32csr/conio.c @@ -960,7 +960,6 @@ ConioProcessChar(PCSRSS_CONSOLE Console, ConsoleInput *KeyEventRecord) { BOOL updown; - BOOL bClientWake = FALSE; ConsoleInput *TempInput; if (0 != (Console->Mode & (ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT))) @@ -1004,8 +1003,6 @@ ConioProcessChar(PCSRSS_CONSOLE Console, { Console->WaitingLines++; } - bClientWake = TRUE; - SetEvent(Console->ActiveEvent); } KeyEventRecord->Echoed = FALSE; if (0 != (Console->Mode & (ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT)) @@ -1037,10 +1034,7 @@ ConioProcessChar(PCSRSS_CONSOLE Console, RemoveEntryList(&KeyEventRecord->ListEntry); HeapFree(Win32CsrApiHeap, 0, KeyEventRecord); Console->WaitingChars -= 2; - } - else - { - SetEvent(Console->ActiveEvent); + return; } } else @@ -1061,10 +1055,7 @@ ConioProcessChar(PCSRSS_CONSOLE Console, } /* Console->WaitingChars++; */ - if (bClientWake || 0 == (Console->Mode & ENABLE_LINE_INPUT)) - { - SetEvent(Console->ActiveEvent); - } + SetEvent(Console->ActiveEvent); } static DWORD FASTCALL