]> 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)
commit1d39cde50c9cd485de482ec2cce987482394bff5
treef9226b5293d8f864bc4e8cea55e2d8c68fbb3713
parent4e07a8c9aa5275c7a8161e02fba29e8170f0c212
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