aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-08-10 17:05:45 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-08-13 16:47:05 +0100
commite2722c1c2fdc3ff6a25a95922d1333bba950b02c (patch)
treef9ff464887fd1d09543c2f1c6995bae030b7a774 /com32/lib/sys
parentfe084791a5e8c0985717d990d26652f416d12f15 (diff)
downloadsyslinux-e2722c1c2fdc3ff6a25a95922d1333bba950b02c.tar.gz
syslinux-e2722c1c2fdc3ff6a25a95922d1333bba950b02c.tar.xz
syslinux-e2722c1c2fdc3ff6a25a95922d1333bba950b02c.zip
efi, ansi: Improve console handling even further (e.g. scrolling support)
There were quite a few trivial bugs in the EFI console code, such as mixing up column and row arguments and implementing functions with different semantics when compared with the BIOS code. With these changes console output now looks the same as the BIOS version, with output scrolling down the screen instead of overwriting existing text at the top whenever it incremented past the last row. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/lib/sys')
-rw-r--r--com32/lib/sys/ansi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/com32/lib/sys/ansi.c b/com32/lib/sys/ansi.c
index db47ea46..f73c03e2 100644
--- a/com32/lib/sys/ansi.c
+++ b/com32/lib/sys/ansi.c
@@ -438,14 +438,6 @@ void __ansi_putchar(const struct term_info *ti, uint8_t ch)
op->scroll_up(st);
}
- /*
- * Testing on EFI shows that from (rows-1)th line newline does not
- * advance anymore. All further output is always on the same
- * (rows-1)th line. Resetting the row to 0 does work.
- */
- if (xy.y == rows-1)
- xy.y = 0;
-
/* Update cursor position */
op->set_cursor(xy.x, xy.y, st->cursor);
st->xy = xy;