April 2, 2016
1:50 a.m.
Berker Peksag added the comment: Thanks, Robert and SilentGhost. I verified the patch with the following script: import curses def main(stdscr): while True: c = stdscr.getch() if c == curses.KEY_PPAGE: stdscr.addstr('Page Up') elif c == curses.KEY_NPAGE: stdscr.addstr('Page Down') else: stdscr.addstr('Another key') curses.wrapper(main) ---------- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue26679> _______________________________________