Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1685

What's the definitive way to clear the keyboard buffer?

$
0
0
inkey /C doesn't seem to actually be clearing the keyboard buffer anymore. I'm looking for more-generalized command-line solutions to do this. Hoping to not have to go into Python/Perl for speed reasons.

Tired of blowing past my pauses and having my inputs pre-filled by errant keystrokes out despite adding the /C before hand. Even tried to repeat it 100 times in case it was just clearing 1 character. Nope.

Viewing all articles
Browse latest Browse all 1685

Trending Articles