The _DELAY 2 isn't a very reliable way to try and get a keypress into the keyboard buffer. Start up times vary, so if the screen is initialing and you hit that space bar, it may not register it.
Instead of just k = _KEYHIT, trap for a key event and then move on.
DO
k = _KEYHIT
LOOP UNTIL k
If you want to include it in a timer, then try something like:
t# = TIMER + 2.0 <-- 2 seconds
DO
k = _KEYHIT
LOOP UNTIL k OR (TIMER > t#)
Is this a Linux only issue? I can't seem to reproduce it at all, on my Win 11 machine.
Instead of just k = _KEYHIT, trap for a key event and then move on.
DO
k = _KEYHIT
LOOP UNTIL k
If you want to include it in a timer, then try something like:
t# = TIMER + 2.0 <-- 2 seconds
DO
k = _KEYHIT
LOOP UNTIL k OR (TIMER > t#)
Is this a Linux only issue? I can't seem to reproduce it at all, on my Win 11 machine.