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