[OpenBIOS] [commit] r1197 - trunk/openbios-devel/forth/device

repository service svn at openbios.org
Sat Jul 27 15:17:47 CEST 2013


Author: mcayland
Date: Sat Jul 27 15:17:47 2013
New Revision: 1197
URL: http://tracker.coreboot.org/trac/openbios/changeset/1197

Log:
terminal.fs: fix handling of NULL (0x0) control code

NULL is defined as a no-op, so make sure that we detect it and exit (term-emit)
immediately. Otherwise we fall through to the default code which redraws the
character and advances the column by 1.

This fixes the staggered line output that appear in quik.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>

Modified:
   trunk/openbios-devel/forth/device/terminal.fs

Modified: trunk/openbios-devel/forth/device/terminal.fs
==============================================================================
--- trunk/openbios-devel/forth/device/terminal.fs	Sat Jul 27 15:17:43 2013	(r1196)
+++ trunk/openbios-devel/forth/device/terminal.fs	Sat Jul 27 15:17:47 2013	(r1197)
@@ -230,6 +230,9 @@
   then
   
   case
+  0 of \ NULL
+    toggle-cursor exit
+  endof
   7 of \ BEL
     blink-screen
     s" /screen" s" ring-bell" 



More information about the OpenBIOS mailing list