Browse Source

- put in the screen initialisation stuff and clear the screen...

tags/v0.9.3
Dan Lynch 18 years ago
parent
commit
7f4cfe4a84
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/hci/mucurses/wininit.c

+ 3
- 2
src/hci/mucurses/wininit.c View File

@@ -14,9 +14,10 @@
14 14
 WINDOW *initscr ( void ) {
15 15
 	/* determine console size */
16 16
 	/* initialise screen */
17
+	curscr->init( curscr );
17 18
 	stdscr->height = LINES;
18 19
 	stdscr->width = COLS;
19
-	/* set previously unknown window attributes */
20
-	/* refresh screen */
20
+	werase( stdscr );
21
+
21 22
 	return stdscr;
22 23
 }

Loading…
Cancel
Save