Author: fireball
Date: Fri Nov 2 16:13:55 2007
New Revision: 30069
URL:
http://svn.reactos.org/svn/reactos?rev=30069&view=rev
Log:
- Make use of the function Herve implemented in previous commit to flush key buffer at the
beginning of every page in usetup.
See issue #2131 for more details.
Modified:
trunk/reactos/base/setup/usetup/interface/consup.c
trunk/reactos/base/setup/usetup/interface/consup.h
trunk/reactos/base/setup/usetup/interface/usetup.c
Modified: trunk/reactos/base/setup/usetup/interface/consup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/consup.c (original)
+++ trunk/reactos/base/setup/usetup/interface/consup.c Fri Nov 2 16:13:55 2007
@@ -128,6 +128,12 @@
NULL);
}
+BOOL
+CONSOLE_Flush(VOID)
+{
+ return FlushConsoleInputBuffer(StdInput);
+}
+
SHORT
CONSOLE_GetCursorX(VOID)
{
Modified: trunk/reactos/base/setup/usetup/interface/consup.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/consup.h (original)
+++ trunk/reactos/base/setup/usetup/interface/consup.h Fri Nov 2 16:13:55 2007
@@ -56,6 +56,9 @@
VOID
CONSOLE_ConOutPuts(
IN LPCSTR szText);
+
+BOOL
+CONSOLE_Flush(VOID);
SHORT
CONSOLE_GetCursorX(VOID);
Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c Fri Nov 2 16:13:55 2007
@@ -3582,6 +3582,8 @@
CONSOLE_SetUnderlinedTextXY(4, 3, " ReactOS " KERNEL_VERSION_STR "
Setup ");
+ CONSOLE_Flush();
+
switch (Page)
{
/* Start page */