nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 54995defd22951f109b064ac5cd72a66489b9e1a
parent b89bc2cce6ec20f50728c3aa83e5c31457acd3b6
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sat, 19 Dec 2020 20:09:56 +0100

input: intercept ^Z also when --minibar is active

For some reason, calling halfdelay() undoes the ISIG mask.
So, mask keyboard interrupts again immediately after the call.

Reported-by: Peter Passchier <peter@passchier.net>

Diffstat:
Msrc/winio.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -189,6 +189,7 @@ void read_keys_from(WINDOW *win) lastmessage > VACUUM && lastmessage < ALERT) { timed = TRUE; halfdelay(8); + disable_kb_interrupt(); } #endif