IDEA-104221 Console folding rules allow to add empty substring and after this console folding is not working anymore.

Use InputValidatorEx instead of InputValidator