Check for KEY_CODE_YES before sending typing notifications

fixes #239