POSIX says that use_env(3) must precede setupterm(3). The former lives in curses.h, but the latter lives in term.h.
This is solved by moving the function to libterminfo. Because the environment can
POSIX says that use_env(3) must precede setupterm(3). The former lives in curses.h, but the latter lives in term.h.
This is solved by moving the function to libterminfo. Because the environment can affect the terminal capabilities for lines and columns, it follows that the tty size should affect it to. So move that code to libterminfo and adjust in libcurses.
show more ...
|