2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 07:11:32 +00:00

- added doxygen @file header

- no longer depends on slk
This commit is contained in:
Dan Lynch 2006-06-21 10:35:46 +00:00
parent d77120541a
commit 6fc723c294

View File

@ -1,8 +1,10 @@
#include <curses.h>
#include <stddef.h>
#include "core.h"
extern struct _softlabelkeys *slks;
/** @file
*
* MuCurses initialisation functions
*
*/
/**
* Initialise console environment
@ -12,8 +14,8 @@ extern struct _softlabelkeys *slks;
WINDOW *initscr ( void ) {
/* determine console size */
/* initialise screen */
stdscr->width = 80;
stdscr->height = ( slks == NULL ? 25 : 24 );
stdscr->height = LINES;
stdscr->width = COLS;
/* set previously unknown window attributes */
/* refresh screen */
return stdscr;