PyDocs

Nav

Command-line interface libraries

use_env

curses

functionnot Androidnot iOSnot WASI
  • use_env(flag)
Use environment variables LINES and COLUMNS.

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 curses is running in a window
(in which case default behavior would be to use the window size if LINES
and COLUMNS are not set).
0 Examples
No examples for curses/use_env.
See Also
No see-alsos for curses/use_env
0 Notes
No notes for use_env