ui/ncurses: Allow IPv6 addresses in address fields