Check for KEY_CODE_YES before sending typing notifications

fixes #239
Merge branch 'master' into plugins