From 691547cda60f0512c645e80246292936e660f326 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 29 Oct 2014 08:45:57 -0700 Subject: 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops Two semi-related patches for keyboard interrupt handling in completion, most importantly so that unexpectedly long completion listings can be interrupted. --- Completion/Base/Core/_main_complete | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Base/Core') diff --git a/Completion/Base/Core/_main_complete b/Completion/Base/Core/_main_complete index e881ea6a1..fcd63664e 100644 --- a/Completion/Base/Core/_main_complete +++ b/Completion/Base/Core/_main_complete @@ -128,7 +128,7 @@ _completer_num=1 # We assume localtraps to be in effect here ... integer SECONDS=0 -trap 'zle -M "Killed by signal in ${funcstack[0]} after ${SECONDS}s"; +trap 'zle -M "Killed by signal in ${funcstack[1]} after ${SECONDS}s"; zle -R; return 130' INT QUIT # Call the pre-functions. -- cgit 1.4.1