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.