Browse Source

Explicitly move cursor to top-left of screen, in case the clear screen

call doesn't do it.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
abbfbd678d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/hci/mucurses/ansi_screen.c

+ 1
- 1
src/hci/mucurses/ansi_screen.c View File

@@ -9,7 +9,7 @@ static void ansiscr_init ( struct _curses_screen *scr ) {
9 9
 	scr->attrs = 0;
10 10
 	scr->curs_x = 0;
11 11
 	scr->curs_y = 0;
12
-	printf ( "\033[0m\033[2J" );
12
+	printf ( "\033[0m\033[2J\033[1;1H" );
13 13
 }
14 14
 
15 15
 static void ansiscr_exit ( struct _curses_screen *scr __unused ) {

Loading…
Cancel
Save