On Fri, 21 Aug 2009, Iñigo Serna wrote:

2009/8/21 Thomas Dickey <dic...@his.com>:
On Aug 20, 6:12 pm, Iñigo Serna <inigose...@gmail.com> wrote:
        c = win.getch()

You're using "getch", not "get_wch" (Python's ncurses binding may/may
not have the latter).
curses getch returns 8-bit values, get_wch would return wider values.

you are right, ncurses binding does not have get_wch, only getch, and
this last is the only one called in ncurses library bindings.


Anyway, I've written a patch to include the get_wch method in the bindings.
See http://bugs.python.org/issue6755


Thanks for the clarification,

no problem (report bugs)

Iñigo


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to