ui/ncurses: Remove redundant assignment