mirror of https://github.com/ipxe/ipxe.git
- put in the screen initialisation stuff and clear the screen...
parent
11e280670d
commit
7f4cfe4a84
|
@ -14,9 +14,10 @@
|
||||||
WINDOW *initscr ( void ) {
|
WINDOW *initscr ( void ) {
|
||||||
/* determine console size */
|
/* determine console size */
|
||||||
/* initialise screen */
|
/* initialise screen */
|
||||||
|
curscr->init( curscr );
|
||||||
stdscr->height = LINES;
|
stdscr->height = LINES;
|
||||||
stdscr->width = COLS;
|
stdscr->width = COLS;
|
||||||
/* set previously unknown window attributes */
|
werase( stdscr );
|
||||||
/* refresh screen */
|
|
||||||
return stdscr;
|
return stdscr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue