From f97a0cfda277f0651d7cc2d59733c81796b7cc89 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 14 Sep 2006 14:43:23 -0700 Subject: [PATCH] Clean up cursor during initialization --- com32/modules/menumain.c | 4 +--- com32/modules/vesamenu.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/com32/modules/menumain.c b/com32/modules/menumain.c index 10da08a..4908418 100644 --- a/com32/modules/menumain.c +++ b/com32/modules/menumain.c @@ -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 ) { diff --git a/com32/modules/vesamenu.c b/com32/modules/vesamenu.c index 8d386d0..88fe78d 100644 --- a/com32/modules/vesamenu.c +++ b/com32/modules/vesamenu.c @@ -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; -- 2.7.4