]> granicus.if.org Git - python/commit
Issue #15785: Modify window.get_wch() API of the curses module: return a
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Aug 2012 23:40:57 +0000 (01:40 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Aug 2012 23:40:57 +0000 (01:40 +0200)
commitca2b64682e2f3c5e3fb2ed150600a73105119e82
tree69f5e40353c33dfbbfc79fb7c49cc1a1aaca3bcc
parent3694401ad278040c6517095ecb2d50ee43b0d7fb
Issue #15785: Modify window.get_wch() API of the curses module: return a
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
Doc/library/curses.rst
Lib/test/test_curses.py
Misc/NEWS
Modules/_cursesmodule.c