STINNER Victor added the comment: bitdancer tested the patch version 3 for me and it fails: unget_wch(KEY_UP) inserts the character U+0103 (259, à) instead of KEY_UP in get_wch() buffer. unget_wch() cannot be used to insert key codes, only classic keys like letters.
So I removed the patch version 3 and restored patch version 2 which only changes the get_wch() API and adapts the existing unit test. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15785> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com