david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/hci/mucurses/wininit.c

24 lines
355 B
C
Raw Normal View History

#include <curses.h>
/** @file
*
* MuCurses initialisation functions
*
*/
/**
* Initialise console environment
*
* @ret *win return pointer to stdscr
*/
WINDOW *initscr ( void ) {
/* determine console size */
/* initialise screen */
curscr->init( curscr );
stdscr->height = LINES;
stdscr->width = COLS;
werase( stdscr );
return stdscr;
}