Added curses support.