From 9f95fa9ce5657255a6d34ab04daccbd24fc730f6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 6 Sep 2019 19:19:44 +0200 Subject: [PATCH] tweaks: reshuffle a line, to group things better --- src/nano.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nano.c b/src/nano.c index 02701b15..6f8b4117 100644 --- 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);