minimal menu.h/libmenu for PDCurses