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

Skip to content

Commit e3fb22b

Browse files
committed
[Patch #633635 from David M. Cooke]
Make docs accurate; getch() in nodelay mode returns -1
1 parent 7e23f00 commit e3fb22b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libcurses.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ \subsection{Window Objects \label{curses-window-objects}}
701701
\begin{methoddesc}[window]{getch}{\optional{x, y}}
702702
Get a character. Note that the integer returned does \emph{not} have to
703703
be in \ASCII{} range: function keys, keypad keys and so on return numbers
704-
higher than 256. In no-delay mode, an exception is raised if there is
704+
higher than 256. In no-delay mode, -1 is returned if there is
705705
no input.
706706
\end{methoddesc}
707707

0 commit comments

Comments
 (0)