summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-07-26 02:59:13 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-07-26 02:59:13 (GMT)
commit1962fb59f3604c81459af4600820a220c54d5e6a (patch)
tree8784e47314f0d0ebbff964d27a75a51b209398ff
parent70e89c11fea0f2711dc8305949b6f753efc034fe (diff)
downloadcpython-1962fb59f3604c81459af4600820a220c54d5e6a.zip
cpython-1962fb59f3604c81459af4600820a220c54d5e6a.tar.gz
cpython-1962fb59f3604c81459af4600820a220c54d5e6a.tar.bz2
Document tiget{flag,num,str}
-rw-r--r--Doc/lib/libcurses.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 52f9263..8d047be 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -438,6 +438,27 @@ Returns the value of the environment variable TERM, truncated to 14
characters.
\end{funcdesc}
+\begin{funcdesc}{tigetflag}{capname}
+Returns the value of the Boolean capability corresponding to the
+terminfo capability name \var{capname}. The value -1 is returned if
+\var{capname} is not a Boolean capability, or 0 if it is canceled or
+absent from the terminal description.
+\end{funcdesc}
+
+\begin{funcdesc}{tigetnum}{capname}
+Returns the value of the numeric capability corresponding to the
+terminfo capability name \var{capname}. The value -2 is returned if
+\var{capname} is not a numeric capability, or -1 if it is canceled or absent
+from the terminal description.
+\end{funcdesc}
+
+\begin{funcdesc}{tigetstr}{capname}
+Returns the value of the string capability corresponding to the
+terminfo capability name \var{capname}. \code{None} is returned if
+\var{capname} is not a string capability, or is canceled or absent
+from the terminal description.
+\end{funcdesc}
+
\begin{funcdesc}{typeahead}{fd}
Specifies that the file descriptor \var{fd} be used for typeahead
checking. If \var{fd} is -1, then no typeahead checking is done.