ui/ncurses: Validate URL field