tweaks: reshuffle a line, to group things better

master
Benno Schulenberg 2019-09-06 19:19:44 +02:00
parent 8853bc448d
commit 9f95fa9ce5
1 changed files with 3 additions and 3 deletions

View File

@ -1461,12 +1461,12 @@ void terminal_init(void)
nonl(); nonl();
noecho(); noecho();
disable_extended_io(); disable_extended_io();
disable_kb_interrupt();
if (ISSET(PRESERVE)) if (ISSET(PRESERVE))
enable_flow_control(); enable_flow_control();
disable_kb_interrupt();
#ifdef USE_SLANG #ifdef USE_SLANG
if (!ISSET(PRESERVE)) else
disable_flow_control(); disable_flow_control();
tcgetattr(0, &newterm); tcgetattr(0, &newterm);