How to clear the keyboard buffer ?

ZX80, ZX 81, ZX Spectrum, TS2068 and other clones
Post Reply
zx81ultra
Member
Posts: 36
Joined: Thu Feb 13, 2020 1:56 am

How to clear the keyboard buffer ?

Post by zx81ultra »

Hello,

I'm using Key = in_Inkey(); to read the keyboard on the zx81, what's the best method to clear the keyboard buffer ?

Thank you
User avatar
dom
Well known member
Posts: 1185
Joined: Sun Jul 15, 2007 10:01 pm

Post by dom »

in_Inkey reads the hardware directly so there is no keyboard buffer.
Post Reply