add keyhandling
Merge pull request #1 from iwanjek/patch-2

add keyhandling