a text web browser using curses in python