Description

The use_env() function specifies the technique by which the implementation determines the size of the screen. If boolval is FALSE, the implementation uses the values of lines and columns specified in the terminfo database. If boolval is TRUE, the implementation uses the LINES and COLUMNS environment variables. The initial value is TRUE.

Any call to use_env() must precede calls to initscr(), newterm() or setupterm().