Explorar el Código

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

tags/v0.9.3
Dan Lynch hace 19 años
padre
commit
7f4cfe4a84
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      src/hci/mucurses/wininit.c

+ 3
- 2
src/hci/mucurses/wininit.c Ver fichero

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…
Cancelar
Guardar