fix input not working under IME
fix input not working under IME
Merge pull request #254 from fancyoung/develop

Add back unintentionally removed line