improve the curses interface slightly