[OpenBIOS] [commit] r1196 - trunk/openbios-devel/forth/device
repository service
svn at openbios.org
Sat Jul 27 15:17:44 CEST 2013
Author: mcayland
Date: Sat Jul 27 15:17:43 2013
New Revision: 1196
URL: http://tracker.coreboot.org/trac/openbios/changeset/1196
Log:
terminal.fs: fix accidental display of control characters and column position
When processing a control code, make sure we exit (term-emit) immediately
rather than falling through to the end of the function. Otherwise we still
call draw-character and advance the column as per normal character codes.
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:41 2013 (r1195)
+++ trunk/openbios-devel/forth/device/terminal.fs Sat Jul 27 15:17:43 2013 (r1196)
@@ -249,6 +249,7 @@
else
8 + -8 and ff and to column#
then
+ toggle-cursor exit
endof
a of \ LF
line# 1+ to line#
@@ -264,6 +265,7 @@
line# 0<> if
line# 1- to line#
then
+ toggle-cursor exit
endof
c of \ FF
0 to column# 0 to line#
@@ -271,6 +273,7 @@
endof
d of \ CR
0 to column#
+ toggle-cursor exit
endof
1b of \ ESC
1b (sequence) c!
More information about the OpenBIOS
mailing list