[Bug 56697] New: _kbhit ignores the last event in the queue