a5bd9f6
From 90d1b9374dd522d4552b17b8fe1b4a49de63b997 Mon Sep 17 00:00:00 2001
a5bd9f6
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
a5bd9f6
Date: Tue, 5 Mar 2013 20:00:51 +0100
a5bd9f6
Subject: [PATCH 194/364] 	* grub-core/term/terminfo.c
a5bd9f6
 (grub_terminfo_cls): Issue an explicit 	gotoxy to 0,0.
a5bd9f6
a5bd9f6
---
a5bd9f6
 ChangeLog                 | 5 +++++
a5bd9f6
 grub-core/term/terminfo.c | 3 +--
a5bd9f6
 2 files changed, 6 insertions(+), 2 deletions(-)
a5bd9f6
a5bd9f6
diff --git a/ChangeLog b/ChangeLog
a5bd9f6
index cacba37..f1ab52a 100644
a5bd9f6
--- a/ChangeLog
a5bd9f6
+++ b/ChangeLog
a5bd9f6
@@ -1,3 +1,8 @@
a5bd9f6
+2013-03-05  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
+
a5bd9f6
+	* grub-core/term/terminfo.c (grub_terminfo_cls): Issue an explicit
a5bd9f6
+	gotoxy to 0,0.
a5bd9f6
+
a5bd9f6
 2013-03-03  Vladimir Serbinenko  <phcoder@gmail.com>
a5bd9f6
 
a5bd9f6
 	Remove all trampoline support. Add -Wtrampolines when
a5bd9f6
diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c
a5bd9f6
index eb0ef00..a46bb4b 100644
a5bd9f6
--- a/grub-core/term/terminfo.c
a5bd9f6
+++ b/grub-core/term/terminfo.c
a5bd9f6
@@ -272,8 +272,7 @@ grub_terminfo_cls (struct grub_term_output *term)
a5bd9f6
     = (struct grub_terminfo_output_state *) term->data;
a5bd9f6
 
a5bd9f6
   putstr (term, grub_terminfo_tparm (data->cls));
a5bd9f6
-
a5bd9f6
-  data->xpos = data->ypos = 0;
a5bd9f6
+  grub_terminfo_gotoxy (term, 0, 0);
a5bd9f6
 }
a5bd9f6
 
a5bd9f6
 void
a5bd9f6
-- 
a5bd9f6
1.8.1.4
a5bd9f6