]> git.proxmox.com Git - grub2.git/blobdiff - kern/term.c
2003-11-17 Marco Gerards <metgerards@student.han.nl>
[grub2.git] / kern / term.c
index 1d605af2abd69256f9866206f59ef5b4e8260426..1e3dbb15ef32ce2fc3b95c6dea926c00fdee022e 100644 (file)
@@ -193,7 +193,10 @@ void
 pupa_cls (void)
 {
   if (pupa_cur_term->flags & PUPA_TERM_DUMB)
-    pupa_putchar ('\n');
+    {
+      pupa_putchar ('\n');
+      pupa_refresh ();
+    }
   else
     (pupa_cur_term->cls) ();
 }
@@ -227,3 +230,9 @@ pupa_setcursor (int on)
   return ret;
 }
 
+void
+pupa_refresh (void)
+{
+  if (pupa_cur_term->refresh)
+    (pupa_cur_term->refresh) ();
+}