Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 620ec9d

Browse files
committed
Document the new setupterm() function
1 parent 26cc66f commit 620ec9d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/lib/libcurses.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,13 @@ \subsection{Functions \label{curses-functions}}
421421
If \var{y} and \var{x} are both -1, then leaveok is set.
422422
\end{funcdesc}
423423

424+
\begin{funcdesc}{setupterm}{\optional{termstr, fd}}
425+
Initializes the terminal. \var{termstr} is a string giving the
426+
terminal name; if omitted, the value of the TERM environment variable
427+
will be used. \var{fd} is the file descriptor to which any initialization sequences will be sent; if not supplied, the file descriptor for
428+
\code{sys.stdout} will be used.
429+
\end{funcdesc}
430+
424431
\begin{funcdesc}{start_color}{}
425432
Must be called if the programmer wants to use colors, and before any
426433
other color manipulation routine is called. It is good

0 commit comments

Comments
 (0)