From 2fcf389e10c66564edec01188c08c43d11549287 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Wed, 17 Jun 2009 09:36:21 +0000 Subject: #6295: clarify blocking behavior of getch(). --- Doc/library/curses.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index c3f1c51..01689a2 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -796,7 +796,8 @@ the following methods: 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. In - no-delay mode, -1 is returned if there is no input. + no-delay mode, -1 is returned if there is no input, else :func:`getch` waits + until a key is pressed. .. method:: window.getkey([y, x]) -- cgit v0.12