The [Y/N] prompt waits for the user to hit enter

This is a pretty standard behavior across all applications.  I haven't tested this, but it's trivial code so it should work.
Uh oh. If our text is null, then we'll loop... forever!

Previously we'd still check for a keypress is our text is null, we just wouldn't print a message in that instance.