Fix key event processing
Merge pull request #12 from saltstack/key_event_fix

Fix key event processing