From e9361f834ae42e3218712d25f0d532dd1f1dc6b9 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 13 Sep 2013 16:28:08 +0100 Subject: Check for KEY_CODE_YES before sending typing notifications fixes #239 --- src/ui/inputwin.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 70212a68..598911cd 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(); } } -- cgit 1.4.1-2-gfad0