Now COLS/LINES uses window cols/lines, not cols/lines from termcap entry

This commit is contained in:
Andrey A. Chernov 1994-10-31 01:48:48 +00:00
parent 6d59e80597
commit 6acf7a7072

View File

@ -58,8 +58,8 @@ char *use_it = _ncurses_copyright;
#ifdef MYTINFO
if (setupterm(term, fileno(ofp), &errret) != OK)
return NULL;
COLS = cur_term->true_columns;
LINES = cur_term->true_lines;
COLS = columns;
LINES = lines;
#else
if (setupterm(term, fileno(ofp), &errret) != 1)
return NULL;