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:
parent
d77120541a
commit
6fc723c294
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user