ui/ncurses: Fix boot editor segfault on update