CLEAR TYPEAHEAD
@fila1,col1 get cCodBar
I had a similar problem on a different topic. I wanted to enter entire CSV lists via copy & paste using GET fields in a CMD application. In case of an error, everything in the buffer should be cleared with
Unfortunately, this did not work correctly when there were too many characters in the copy buffer. Only part of it was deleted. sometimes more, sometimes less.
With a bit of experimenting, I discovered some strange behavior. If, after calling INKEY(), LASTKEY() must be called at least twice then the readout speed from the key buffer increases enormously.
Example:
As a result, adjustments in getlist.prg significantly accelerated GET input.