Now COLS/LINES uses window cols/lines, not cols/lines from termcap entry
This commit is contained in:
parent
6d59e80597
commit
6acf7a7072
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user