This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: curses doc : getch is blocking by default
Type: enhancement Stage:
Components: Documentation Versions: Python 3.0
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, nojhan
Priority: normal Keywords:

Created on 2009-06-17 09:18 by nojhan, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg89447 - (view) Author: nojhan (nojhan) Date: 2009-06-17 09:18
The documentation of the curses module is not clear on the fact that
getch is blocking by default:

I suggest the following description instead of the current one:
"Get a character. Note that the integer returned does not have to be in
ASCII range: function keys, keypad keys and so on return numbers higher
than 256. By default, getch() is blocking and wait indefinitely for a
key press. In nodelay() mode, -1 is returned if there is no input."
msg89448 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-06-17 09:36
I've committed a similar change in r73462.
Date User Action Args
2022-04-11 14:56:50adminsetgithub: 50544
2009-06-17 09:36:38georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg89448
2009-06-17 09:18:31nojhancreate