[openfirmware] r1376 - cpu/x86/pc/olpc
svn at openfirmware.info
svn at openfirmware.info
Thu Sep 24 08:14:06 CEST 2009
Author: wmb
Date: 2009-09-24 08:14:06 +0200 (Thu, 24 Sep 2009)
New Revision: 1376
Modified:
cpu/x86/pc/olpc/countdwn.fth
Log:
When interrupting auto-boot, discard queued-up keyboard characters
in case the user typed a lot of escapes.
Modified: cpu/x86/pc/olpc/countdwn.fth
===================================================================
--- cpu/x86/pc/olpc/countdwn.fth 2009-09-24 06:12:39 UTC (rev 1375)
+++ cpu/x86/pc/olpc/countdwn.fth 2009-09-24 06:14:06 UTC (rev 1376)
@@ -17,6 +17,8 @@
stdin @ if
console-key? if
console-key h# 1b = if
+ \ consume extra escapes in case the user typed several
+ begin console-key? while console-key drop repeat
true unloop unloop exit
then
then
More information about the openfirmware
mailing list