01-12-2023, 01:31 AM
@kernelpanic I think I might have figured it out, it happens for me if I hold the F5 key a bit too long. If that's what's happening then I think the issue is that because I fixed the startup delay your program reaches the end basically immediately after starting. That by itself is perfectly fine, but if you're still holding the F5 key at that point then it will be picked up as input by the console and exit your program.
I would test and see if the issue still happens if you manually click the Run button, that would avoid the chance of sending any input to the console for your program. Also you could see if it still happens if you hit the F5 key as briefly as you can (though that might be hard. Maybe your computer is a bit faster then ours or something ).
Assuming that's the problem it might be worth us adding a workaround for it, we could have the IDE wait for you to release the F5 key before starting the program.
I would test and see if the issue still happens if you manually click the Run button, that would avoid the chance of sending any input to the console for your program. Also you could see if it still happens if you hit the F5 key as briefly as you can (though that might be hard. Maybe your computer is a bit faster then ours or something ).
Assuming that's the problem it might be worth us adding a workaround for it, we could have the IDE wait for you to release the F5 key before starting the program.