ui/ncurses: only cancel default boot on valid key events