diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-05-17 15:56:12 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-05-17 15:56:12 +0000 |
commit | 071b084ea817c8e323a83d50e155c335721cd4c4 (patch) | |
tree | 022d9ce326f30e238847bf76fac9ff858e888c43 /Src/Zle/zle_main.c | |
parent | f41bff3ba12b2148affa03dad0d8a0893bcd4f07 (diff) | |
download | zsh-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.c | 3 |
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) { |