summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-11-07 03:35:24 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-11-07 03:35:24 (GMT)
commitf16e0ed76c312ecddac1a90a713a865cc4b20b05 (patch)
tree086e3489fb672632fed317d2a85f8875cf0bc9bf /Doc/lib
parenta776cea71af5cc61eb2d1ed24d962191ff343dde (diff)
downloadcpython-f16e0ed76c312ecddac1a90a713a865cc4b20b05.zip
cpython-f16e0ed76c312ecddac1a90a713a865cc4b20b05.tar.gz
cpython-f16e0ed76c312ecddac1a90a713a865cc4b20b05.tar.bz2
Patch #102278: add tparm() function to _curses module
Diffstat (limited to 'Doc/lib')
-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 d5a8c2b..20c2717 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -466,6 +466,13 @@ terminfo capability name \var{capname}. \code{None} is returned if
from the terminal description.
\end{funcdesc}
+\begin{funcdesc}{tparm}{str\optional{,...}}
+Instantiates the string \var{str} with the supplied parameters, where
+\var{str} should be a parameterized string obtained from the terminfo
+database. E.g. \code{tparm(tigetstr("cup"),5,3)} could result in
+\code{"\e{}033[6;4H"}, the exact result depending on terminal type.
+\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.