On Monday, 9 January 2017 at 19:11:48 UTC, LouisHK wrote:
No, that duplicate problem occurs even on normal keys, if I press "a" it shows "aa", and through the WinDBG, I saw the kbhit() was always true 2x after a key is pressed.

I think my lib returns on key *release* as well, since it registers that on Windows.

Probably a bug, though I don't like using the getch function, I usually use the full input stream.

Reply via email to