diff options
Diffstat (limited to 'lib/readline/complete.c')
-rw-r--r-- | lib/readline/complete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readline/complete.c b/lib/readline/complete.c index 73f834a..5ff198d 100644 --- a/lib/readline/complete.c +++ b/lib/readline/complete.c @@ -428,7 +428,7 @@ get_y_or_n (for_pager) return (1); if (c == 'n' || c == 'N' || c == RUBOUT) return (0); - if (c == ABORT_CHAR) + if (c == ABORT_CHAR || c < 0) _rl_abort_internal (); if (for_pager && (c == NEWLINE || c == RETURN)) return (2); |