ui/ncurses: Remove unused 'cod' variable