PyDocs

Nav

Command-line interface libraries

setupterm

curses

functionnot Androidnot iOSnot WASI
  • setupterm(term=None, fd=-1)
Initialize the terminal.

term
  Terminal name.
  If omitted, the value of the TERM environment variable will be used.
fd
  File descriptor to which any initialization sequences will be sent.
  If not supplied, the file descriptor for sys.stdout will be used.
0 Examples
No examples for curses/setupterm.
See Also
No see-alsos for curses/setupterm
0 Notes
No notes for setupterm