1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -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 df14a46d48
commit e9361f834a

View File

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