core: UI#ask with no echo works even if noecho not supported [GH-3119]