TerryCavanagh / VVVVVV

The source code to VVVVVV! http://thelettervsixtim.es/
Other
6.9k stars 553 forks source link

Fix informational command-line arguments not working with `-console` #1168

Closed InfoTeddy closed 1 month ago

InfoTeddy commented 1 month ago

The intention of the -console argument was to enable seeing console output on Windows without having to use workarounds. However, this didn't actually work for arguments like -addresses and -version, because the program would exit first before it could get the chance to create the console.

The other issue is that the console closes too quickly before output can be read by the user. So to fix that, we must hold it open and let the user close it when they want to.

Legal Stuff:

By submitting this pull request, I confirm that...