summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-11-18 17:57:33 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-11-18 17:57:33 (GMT)
commit620ec9d1ca1081177066e962fca18c6cf20b8aea (patch)
tree909af2667fba007596a72729a38d756132f2a657 /Doc
parent26cc66fe6a899fa49c9942b06804e0bcab742d60 (diff)
downloadcpython-620ec9d1ca1081177066e962fca18c6cf20b8aea.zip
cpython-620ec9d1ca1081177066e962fca18c6cf20b8aea.tar.gz
cpython-620ec9d1ca1081177066e962fca18c6cf20b8aea.tar.bz2
Document the new setupterm() function
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libcurses.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 20c2717..c82bed2 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -421,6 +421,13 @@ Sets the virtual screen cursor to \var{y}, \var{x}.
If \var{y} and \var{x} are both -1, then leaveok is set.
\end{funcdesc}
+\begin{funcdesc}{setupterm}{\optional{termstr, fd}}
+Initializes the terminal. \var{termstr} is a string giving the
+terminal name; if omitted, the value of the TERM environment variable
+will be used. \var{fd} is the file descriptor to which any initialization sequences will be sent; if not supplied, the file descriptor for
+\code{sys.stdout} will be used.
+\end{funcdesc}
+
\begin{funcdesc}{start_color}{}
Must be called if the programmer wants to use colors, and before any
other color manipulation routine is called. It is good