Now basically functioning on ANSI-supporting consoles.

This commit is contained in:
Michael Brown
2006-12-19 00:27:25 +00:00
parent 09f9142cbf
commit edbdce6e3d
8 changed files with 215 additions and 95 deletions
+10 -1
View File
@@ -14,10 +14,19 @@
WINDOW *initscr ( void ) {
/* determine console size */
/* initialise screen */
curscr->init( curscr );
stdscr->scr->init( stdscr->scr );
stdscr->height = LINES;
stdscr->width = COLS;
werase( stdscr );
return stdscr;
}
/**
* Finalise console environment
*
*/
int endwin ( void ) {
stdscr->scr->exit( stdscr->scr );
return OK;
}