Categories
Uncategorized

Windows 10 Console Apps Hanging

Recently I wrote a console app. to run under Windows 10. To my frustration the app appeared to hang for no apparent reason, but would resume when I pressed the Enter key.

After much investigating I found that this is by (Microsoft) design. When you click on the black screen of a console app it goes into “QuickEdit Mode”; basically its waiting for you to paste some text and press enter. This happens the next time the app calls a write/writeline. It can be stopped by clicking the top right of the console app, selecting “Properties” and unticking the “Quick Edit Mode” option.