Check for KEY_CODE_YES before sending typing notifications

fixes #239
Merge branch '0.3.patch' of github.com:boothj5/profanity into 0.3.patch