pub fn use_env(flag: bool)
Expand description
If used, this function should be called before initscr()
or newterm()
are called. When flag is false
, the values of lines and columns specified
in the terminfo database will be used, even if environment variables
LINES and COLUMNS (used by default) are set, or if NCurses is running
in a window (in which case default behavior would be to use the window
size if LINES and COLUMNS are not set).