basic list display implemented with ncurses