Ignores empty input string and reprints prompt.