summaryrefslogtreecommitdiffstats
path: root/Doc/howto/curses.rst
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-01-17 19:49:24 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-01-17 19:49:24 (GMT)
commit4e06b8a86f30933cf5102a51df057403e7a6dc35 (patch)
tree67c130e5a34ec5d3552c5b2f08d817f3c62b7773 /Doc/howto/curses.rst
parent44bd6c0a4f126c374b23f749141cb37a94366894 (diff)
downloadcpython-4e06b8a86f30933cf5102a51df057403e7a6dc35.zip
cpython-4e06b8a86f30933cf5102a51df057403e7a6dc35.tar.gz
cpython-4e06b8a86f30933cf5102a51df057403e7a6dc35.tar.bz2
Correction from Jordan Lewis: halfdelay() uses tenths of a second, not milliseconds
Diffstat (limited to 'Doc/howto/curses.rst')
-rw-r--r--Doc/howto/curses.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst
index e16d07a..ff14335 100644
--- a/Doc/howto/curses.rst
+++ b/Doc/howto/curses.rst
@@ -367,8 +367,8 @@ It's possible to change this behavior with the method :meth:`nodelay`. After
``nodelay(1)``, :meth:`getch` for the window becomes non-blocking and returns
``curses.ERR`` (a value of -1) when no input is ready. There's also a
:func:`halfdelay` function, which can be used to (in effect) set a timer on each
-:meth:`getch`; if no input becomes available within the number of milliseconds
-specified as the argument to :func:`halfdelay`, curses raises an exception.
+:meth:`getch`; if no input becomes available within a specified
+delay (measured in tenths of a second), curses raises an exception.
The :meth:`getch` method returns an integer; if it's between 0 and 255, it
represents the ASCII code of the key pressed. Values greater than 255 are