nano

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

commit 9f95fa9ce5657255a6d34ab04daccbd24fc730f6
parent 8853bc448d74691a6879b6adddf957ef32a41bd2
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri,  6 Sep 2019 19:19:44 +0200

tweaks: reshuffle a line, to group things better

Diffstat:
Msrc/nano.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/nano.c b/src/nano.c @@ -1461,12 +1461,12 @@ void terminal_init(void) nonl(); noecho(); disable_extended_io(); + disable_kb_interrupt(); + if (ISSET(PRESERVE)) enable_flow_control(); - - disable_kb_interrupt(); #ifdef USE_SLANG - if (!ISSET(PRESERVE)) + else disable_flow_control(); tcgetattr(0, &newterm);