make some changes to lib/curses.rb