From d04411312fde34ba98909887b4d6f42accc0aa2d Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 13 Sep 2013 16:28:08 +0100 Subject: [PATCH] Check for KEY_CODE_YES before sending typing notifications fixes #239 --- src/ui/inputwin.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index e4efdd7e..3d4164bd 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -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(); } }