diff options
Diffstat (limited to 'Src/Zle')
-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) { |