Sorry about that! I was able to repro this, thank you for the bug report. It's fixed and will be in the next release (I'm shooting for next week).
For now, to get around that you can do this, which works. I tested it here with 1.2.0 and xvic.
K AS U8 LAST AS U8 WHILE 1 K = RAWKEY_CODE IF K <> 0 AND LAST = 0 THEN PRINT K ENDIF LAST = K ENDWHILE
