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)
|
ConsoleInput *KeyEventRecord)
|
||||||
{
|
{
|
||||||
BOOL updown;
|
BOOL updown;
|
||||||
BOOL bClientWake = FALSE;
|
|
||||||
ConsoleInput *TempInput;
|
ConsoleInput *TempInput;
|
||||||
|
|
||||||
if (0 != (Console->Mode & (ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT)))
|
if (0 != (Console->Mode & (ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT)))
|
||||||
|
@ -1004,8 +1003,6 @@ ConioProcessChar(PCSRSS_CONSOLE Console,
|
||||||
{
|
{
|
||||||
Console->WaitingLines++;
|
Console->WaitingLines++;
|
||||||
}
|
}
|
||||||
bClientWake = TRUE;
|
|
||||||
SetEvent(Console->ActiveEvent);
|
|
||||||
}
|
}
|
||||||
KeyEventRecord->Echoed = FALSE;
|
KeyEventRecord->Echoed = FALSE;
|
||||||
if (0 != (Console->Mode & (ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT))
|
if (0 != (Console->Mode & (ENABLE_PROCESSED_INPUT | ENABLE_LINE_INPUT))
|
||||||
|
@ -1037,10 +1034,7 @@ ConioProcessChar(PCSRSS_CONSOLE Console,
|
||||||
RemoveEntryList(&KeyEventRecord->ListEntry);
|
RemoveEntryList(&KeyEventRecord->ListEntry);
|
||||||
HeapFree(Win32CsrApiHeap, 0, KeyEventRecord);
|
HeapFree(Win32CsrApiHeap, 0, KeyEventRecord);
|
||||||
Console->WaitingChars -= 2;
|
Console->WaitingChars -= 2;
|
||||||
}
|
return;
|
||||||
else
|
|
||||||
{
|
|
||||||
SetEvent(Console->ActiveEvent);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1061,10 +1055,7 @@ ConioProcessChar(PCSRSS_CONSOLE Console,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Console->WaitingChars++; */
|
/* Console->WaitingChars++; */
|
||||||
if (bClientWake || 0 == (Console->Mode & ENABLE_LINE_INPUT))
|
SetEvent(Console->ActiveEvent);
|
||||||
{
|
|
||||||
SetEvent(Console->ActiveEvent);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static DWORD FASTCALL
|
static DWORD FASTCALL
|
||||||
|
|
Loading…
Reference in a new issue