fix #4236 capture keyboard interupt
Merge pull request #4260 from qunox/capturekeyboard

fix #4236 capture keyboard interupt