about summary refs log tree commit diff
path: root/Src/Zle/zle_main.c
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-05-17 15:56:12 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-05-17 15:56:12 +0000
commit071b084ea817c8e323a83d50e155c335721cd4c4 (patch)
tree022d9ce326f30e238847bf76fac9ff858e888c43 /Src/Zle/zle_main.c
parentf41bff3ba12b2148affa03dad0d8a0893bcd4f07 (diff)
downloadzsh-071b084ea817c8e323a83d50e155c335721cd4c4.tar.gz
zsh-071b084ea817c8e323a83d50e155c335721cd4c4.tar.xz
zsh-071b084ea817c8e323a83d50e155c335721cd4c4.zip
Signal queuing tweak.
Diffstat (limited to 'Src/Zle/zle_main.c')
-rw-r--r--Src/Zle/zle_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 967cb61b9..1d3f346ab 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -400,7 +400,10 @@ getkey(int keytmout)
 #endif
 	}
 	for (;;) {
+	    int q = queue_signal_level();
+	    dont_queue_signals();
 	    r = read(SHTTY, &cc, 1);
+	    restore_queue_signals(q);
 	    if (r == 1)
 		break;
 	    if (r == 0) {