mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:12:57 +00:00
last bugfixes for cmd
svn path=/trunk/; revision=389
This commit is contained in:
parent
7e74c066a7
commit
eda973b1cc
7 changed files with 44 additions and 23 deletions
|
@ -70,7 +70,9 @@ VOID ConInKey (PINPUT_RECORD lpBuffer)
|
|||
|
||||
do
|
||||
{
|
||||
WaitForSingleObject (hInput, INFINITE);
|
||||
#ifndef __REACTOS__
|
||||
WaitForSingleObject (hInput, INFINITE);
|
||||
#endif
|
||||
ReadConsoleInput (hInput, lpBuffer, 1, &dwRead);
|
||||
if ((lpBuffer->EventType == KEY_EVENT) &&
|
||||
(lpBuffer->Event.KeyEvent.bKeyDown == TRUE))
|
||||
|
@ -239,5 +241,5 @@ VOID SetCursorType (BOOL bInsert, BOOL bVisible)
|
|||
cci.dwSize = bInsert ? 10 : 100;
|
||||
cci.bVisible = bVisible;
|
||||
|
||||
// SetConsoleCursorInfo (GetStdHandle (STD_OUTPUT_HANDLE), &cci);
|
||||
SetConsoleCursorInfo (GetStdHandle (STD_OUTPUT_HANDLE), &cci);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue