Move curses.py to ncurses.py