decoding keyboard input when using curses

Arnaud Delobelle arnodel at googlemail.com
Sat May 30 17:02:01 EDT 2009


Arnaud Delobelle <arnodel at googlemail.com> writes:
[...]
> I can pipe the stream of output from getch() directly through an
    ^^^ I mean *can't*

> instance of codecs.getreader('utf-8') because getch() sometimes returns
> the integer values of the 'special keys'.
[...]

I reread my post 3 times before sending it, honest!

-- 
Arnaud



More information about the Python-list mailing list