01-12-2023, 03:40 PM
(01-12-2023, 03:03 PM)Kernelpanic Wrote:(01-12-2023, 01:31 AM)DSMan195276 Wrote: @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.
Bingo! It actually has to do with the amount of time it takes to press. Where duration . . . I do not sit down on the button, I just press it briefly, like I always do.
I have tried it now: the way I always press does not work, if I consciously just "tap" it then it works. This is the case with all programs, as I have now found.
Another problem solved! But it is strange, something must have gotten faster, because today I do not press the keys any slower than I did a month ago.
From the release notes: