From c292a3ae50bd0605b015f80266418e391c3c10fe Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sat, 11 Nov 2000 19:50:27 +0000 Subject: Sven: 13108: Handle traps synchronously pws: 13109, 13111: clear up zle display when output produced in trap. --- Src/input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Src/input.c') diff --git a/Src/input.c b/Src/input.c index 8f33e3631..e82d25011 100644 --- a/Src/input.c +++ b/Src/input.c @@ -141,7 +141,9 @@ shingetline(void) for (;;) { do { errno = 0; - c = fgetc(bshin); + ALLOWTRAPS { + c = fgetc(bshin); + } DISALLOWTRAPS; } while (c < 0 && errno == EINTR); if (c < 0 || c == '\n') { if (c == '\n') -- cgit 1.4.1