From 41305bc8f78855937c5e9a76019a8366901b43d8 Mon Sep 17 00:00:00 2001 From: robertmh Date: Sat, 31 May 2008 15:46:48 +0000 Subject: [PATCH] 2008-05-31 Michael Gorven * term/terminfo.c (grub_terminfo_set_current): Correct vt100 cursor on and off sequences. --- ChangeLog | 5 +++++ term/terminfo.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 007439e32..b680f8f1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-05-31 Michael Gorven + + * term/terminfo.c (grub_terminfo_set_current): Correct vt100 cursor + on and off sequences. + 2008-05-31 Robert Millan * util/update-grub_lib.in: Replace `grub-probe' with `${grub_probe}'. diff --git a/term/terminfo.c b/term/terminfo.c index bea413177..5cbbe16ab 100644 --- a/term/terminfo.c +++ b/term/terminfo.c @@ -98,8 +98,8 @@ grub_terminfo_set_current (const char *str) term.cls = grub_strdup ("\e[H\e[J"); term.reverse_video_on = grub_strdup ("\e[7m"); term.reverse_video_off = grub_strdup ("\e[m"); - term.cursor_on = grub_strdup ("\e[?25l"); - term.cursor_off = grub_strdup ("\e[?25h"); + term.cursor_on = grub_strdup ("\e[?25h"); + term.cursor_off = grub_strdup ("\e[?25l"); return grub_errno; }