New submission from nojhan <noj...@gmail.com>:

The documentation of the curses module is not clear on the fact that
getch is blocking by default:
http://docs.python.org/3.0/library/curses.html#curses.window.getch

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."

----------
assignee: georg.brandl
components: Documentation
messages: 89447
nosy: georg.brandl, nojhan
severity: normal
status: open
title: curses doc : getch is blocking by default
type: feature request
versions: Python 3.0

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6295>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to