Edit: curses.py