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

Loading…
Cancel
Save