- put in the screen initialisation stuff and clear the screen...
[people/andreif/gpxe.git] / src / hci / mucurses / wininit.c
index 1bffe2e..134ea94 100644 (file)
 WINDOW *initscr ( void ) {
        /* determine console size */
        /* initialise screen */
+       curscr->init( curscr );
        stdscr->height = LINES;
        stdscr->width = COLS;
-       /* set previously unknown window attributes */
-       /* refresh screen */
+       werase( stdscr );
+
        return stdscr;
 }