1 /* initscr.c - initialize the curses library */
11 if ((term
= getenv("TERM")) == NULL
) return NULL
;
14 if ((_cursvar
.tmpwin
= newwin(LINES
, COLS
, 0, 0)) == NULL
) return NULL
;
15 if ((curscr
= newwin(LINES
, COLS
, 0, 0)) == NULL
) return NULL
;
16 if ((stdscr
= newwin(LINES
, COLS
, 0, 0)) == NULL
) return NULL
;
17 clearok(curscr
, TRUE
);