mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
Always set the console's event on any keypress, even in line input mode.
svn path=/trunk/; revision=35489
This commit is contained in:
parent
fca286cbda
commit
ed0615e6ac
|
@ -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,11 +1055,8 @@ ConioProcessChar(PCSRSS_CONSOLE Console,
|
|||
}
|
||||
|
||||
/* Console->WaitingChars++; */
|
||||
if (bClientWake || 0 == (Console->Mode & ENABLE_LINE_INPUT))
|
||||
{
|
||||
SetEvent(Console->ActiveEvent);
|
||||
}
|
||||
}
|
||||
|
||||
static DWORD FASTCALL
|
||||
ConioGetShiftState(PBYTE KeyState)
|
||||
|
|
Loading…
Reference in a new issue