]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 5 Mar 2013 19:00:51 +0000 (20:00 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 5 Mar 2013 19:00:51 +0000 (20:00 +0100)
gotoxy to 0,0.

ChangeLog
grub-core/term/terminfo.c

index cacba374f1228b671427682efd34fdb649962353..f1ab52aa7e0cc13e1885950be2046d066cbdaaa4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-05  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
+       gotoxy to 0,0.
+
 2013-03-03  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Remove all trampoline support. Add -Wtrampolines when
index eb0ef00eabe44422674d73a9738c6acf0401a74e..a46bb4b277067d677644a8746b6471e26e77403a 100644 (file)
@@ -272,8 +272,7 @@ grub_terminfo_cls (struct grub_term_output *term)
     = (struct grub_terminfo_output_state *) term->data;
 
   putstr (term, grub_terminfo_tparm (data->cls));
-
-  data->xpos = data->ypos = 0;
+  grub_terminfo_gotoxy (term, 0, 0);
 }
 
 void