use px instead of ncurses