add curses library