Clean up cursor during initialization
authorH. Peter Anvin <hpa@zytor.com>
Thu, 14 Sep 2006 21:43:23 +0000 (14:43 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 14 Sep 2006 21:43:23 +0000 (14:43 -0700)
com32/modules/menumain.c
com32/modules/vesamenu.c

index 10da08a..4908418 100644 (file)
@@ -849,11 +849,9 @@ int menu_main(int argc, char *argv[])
   (void)argc;
 
   install_default_color_table();
-  fputs("\1#00", stdout);
-
   parse_config(argv[1]);
 
-  if (draw_background && menu_background)
+  if (draw_background)
     draw_background(menu_background);
 
   if ( !nentries ) {
index 8d386d0..88fe78d 100644 (file)
@@ -34,7 +34,7 @@ int vesacon_load_background(const char *);
 int main(int argc, char *argv[])
 {
   openconsole(&dev_rawcon_r, &dev_vesaserial_w);
-  fputs("\033[0m\033[20h", stdout);
+  fputs("\033[0m\033[20h\033[25l", stdout);
   
   draw_background = vesacon_load_background;