Always set the console's event on any keypress, even in line input mode.

svn path=/trunk/; revision=35489
This commit is contained in:
Jeffrey Morlan 2008-08-20 20:55:39 +00:00
parent fca286cbda
commit ed0615e6ac

View file

@ -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