Thanks. That really helped me a lot.
I have a program using the console that has the ability to play back a script by simply dropping responses into the keyboard buffer.
To pause execution after some messages being displayed to the user I was running a
shell "pause"
With the script, I wanted to just effectively press ENTER when a pause command was run since we don't want pauses in the program when responses are scripted. The problem with this was that the QB64 keyboard buffer has no effect on the pause command run from shell, so execution would halt completely. Thanks to the info you provided I was able to resolve that issue and my scripts now run great.