curses KEY_* constants

Bill Green bill at supposedly.org
Tue Aug 24 06:01:16 EDT 2010


On 2010-08-24, Bill Green <bill at supposedly.org> wrote:
> ... but these
> constants (for the arrow keys at least) seem not to match the actual
> keycodes.

After looking at the documentation again I've realized I needed to enable keypad
mode on the window for curses to catch the escape codes, and now everything's
working.

It seems to me that _cursesmodule.c should check at compile time to
see if the platform is NetBSD AND ncurses isn't being used.

Regards,
Bill



More information about the Python-list mailing list