about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/inputwin.c7
1 files changed, 5 insertions, 2 deletions
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();
         }
     }