last bugfixes for cmd

svn path=/trunk/; revision=389
This commit is contained in:
Eric Kohl 1999-04-16 00:16:18 +00:00
parent 7e74c066a7
commit eda973b1cc
7 changed files with 44 additions and 23 deletions

View file

@ -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);
}