mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
Added CHOICE command and fixed a cursor bug.
svn path=/trunk/; revision=625
This commit is contained in:
parent
c4385e9139
commit
0b84d00506
6 changed files with 276 additions and 8 deletions
|
@ -52,6 +52,11 @@ VOID ConInDummy (VOID)
|
|||
ReadConsoleInput (hInput, &dummy, 1, &dwRead);
|
||||
}
|
||||
|
||||
VOID ConInFlush (VOID)
|
||||
{
|
||||
FlushConsoleInputBuffer (GetStdHandle (STD_INPUT_HANDLE));
|
||||
}
|
||||
|
||||
|
||||
VOID ConInKey (PINPUT_RECORD lpBuffer)
|
||||
{
|
||||
|
@ -232,7 +237,7 @@ VOID SetCursorType (BOOL bInsert, BOOL bVisible)
|
|||
{
|
||||
CONSOLE_CURSOR_INFO cci;
|
||||
|
||||
cci.dwSize = bInsert ? 10 : 100;
|
||||
cci.dwSize = bInsert ? 10 : 99;
|
||||
cci.bVisible = bVisible;
|
||||
|
||||
SetConsoleCursorInfo (GetStdHandle (STD_OUTPUT_HANDLE), &cci);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue