Commits

anatoly techtonik  committed 91faf1c

do not process keyUp messages

  • Participants
  • Parent commits 284c4f3

Comments (0)

Files changed (1)

File asyncinput.py

             pass
           else:
             keyEvent = inbuf[0].event.keyEvent
+            if not keyEvent.keyDown:
+              continue
             char = keyEvent.char.UnicodeChar.lower()
+            #print char, keyEvent
             if char == 'q':
               print('[q] key pressed. Exiting..')
               stopflag = True