Changeset 91bbc0bedd350a1501d15037a40bbdfe67d7e27d

Show
Ignore:
Timestamp:
11/01/09 10:48:54 (2 years ago)
Author:
Erwan Velu <erwan.velu@…>
Children:
2ce2b5480bd81d34e80be6dc246303eb710313f4
Parents:
01d211fe77cfdbf38084966f63559fda81f743d3
git-author:
Pierre-Alexandre Meyer <pierre@mouraf.org> / 2009-11-01T00:12:41Z-0700
git-committer:
Erwan Velu <erwan.velu@free.fr> / 2009-11-01T11:48:54Z+0100
Message:

hdt: reset position of the cursor at startup (CLI)

When starting HDT in cli mode (nomenu), reset the cursor to be at the
top left corner.

Signed-off-by: Pierre-Alexandre Meyer <pierre@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/hdt/hdt.c

    r486ec6 r91bbc0  
    6464  detect_parameters(argc, argv, &hardware); 
    6565 
     66  /* Clear the screen and reset position of the cursor */ 
     67  clear_screen(); 
     68  printf("\033[1;1H"); 
    6669 
    67   clear_screen(); 
    6870  printf("%s\n", version_string); 
    6971