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; }