ignore dead key event

* do not crash on a dead key event
Merge pull request #5 from tchaikov/ignore-dead-key

ignore dead key event