Author: mcayland Date: Sun Jun 9 14:24:54 2013 New Revision: 1139 URL: http://tracker.coreboot.org/trac/openbios/changeset/1139
Log: terminal.fs: Fix linefeeds on the bottom line of the Forth console.
Fix cursor position when a linefeed is entered on the bottom line.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@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 Sun Jun 9 14:24:52 2013 (r1138) +++ trunk/openbios-devel/forth/device/terminal.fs Sun Jun 9 14:24:54 2013 (r1139) @@ -230,6 +230,12 @@ endof a of \ LF line# 1+ to line# 0 to column# + line# #lines >= if + line# 1- + 0 to line# + 1 delete-lines + to line# + then endof b of \ VT line# 0<> if