- put in the screen initialisation stuff and clear the screen...
authorDan Lynch <danjlynch@users.sourceforge.net>
Tue, 27 Jun 2006 17:18:11 +0000 (17:18 +0000)
committerDan Lynch <danjlynch@users.sourceforge.net>
Tue, 27 Jun 2006 17:18:11 +0000 (17:18 +0000)
src/hci/mucurses/wininit.c

index 1bffe2e..134ea94 100644 (file)
 WINDOW *initscr ( void ) {
        /* determine console size */
        /* initialise screen */
 WINDOW *initscr ( void ) {
        /* determine console size */
        /* initialise screen */
+       curscr->init( curscr );
        stdscr->height = LINES;
        stdscr->width = COLS;
        stdscr->height = LINES;
        stdscr->width = COLS;
-       /* set previously unknown window attributes */
-       /* refresh screen */
+       werase( stdscr );
+
        return stdscr;
 }
        return stdscr;
 }