comparison xrogue/state.c @ 141:cc5148bdf345

xrogue: call nonl() during initialization. This prevents some confusion between CR and LF characters.
author John "Elwin" Edwards
date Tue, 05 May 2015 20:54:33 -0400
parents ce0cf824c192
children 7faf4568c295
comparison
equal deleted inserted replaced
140:856017d63519 141:cc5148bdf345
3350 signal(SIGQUIT, endit); 3350 signal(SIGQUIT, endit);
3351 #endif 3351 #endif
3352 #if defined(__CYGWIN__) || defined(__MSYS__) 3352 #if defined(__CYGWIN__) || defined(__MSYS__)
3353 ESCDELAY = 250; 3353 ESCDELAY = 250;
3354 #endif 3354 #endif
3355 nonl();
3355 crmode(); /* Cbreak mode */ 3356 crmode(); /* Cbreak mode */
3356 noecho(); /* Echo off */ 3357 noecho(); /* Echo off */
3357 } 3358 }