mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
- put in the screen initialisation stuff and clear the screen...
This commit is contained in:
parent
11e280670d
commit
7f4cfe4a84
@ -14,9 +14,10 @@
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user