1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Check for KEY_CODE_YES before sending typing notifications

fixes #239
This commit is contained in:
James Booth 2013-09-13 16:28:08 +01:00
parent 505dbfc95f
commit 9c28ebb954

View File

@ -127,7 +127,10 @@ inp_get_char(char *input, int *size)
if (result == ERR) {
prof_handle_idle();
}
if (prefs_get_boolean(PREF_OUTTYPE) && (result != ERR) && !in_command
if (prefs_get_boolean(PREF_OUTTYPE)
&& (result != ERR)
&& (result != KEY_CODE_YES)
&& !in_command
&& _printable(ch)) {
prof_handle_activity();
}