fflush after prompting user