Relative Content

Tag Archive for windowsterminalconsole

How to manually flush the Console buffer without inputting Enter?

I’m trying to manually communicate with a built exe on Windows, which panics when there is an unexpected ‘n’ in the input. I could not change the source code, nor do I want to bother to write an intermediate program to cope with this. So is there any way to manually flush the console buffer(e.g. via shortcuts or special characters)?