diff 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
line wrap: on
line diff
--- a/xrogue/state.c	Tue May 05 12:12:20 2015 -0400
+++ b/xrogue/state.c	Tue May 05 20:54:33 2015 -0400
@@ -3352,6 +3352,7 @@
 #if defined(__CYGWIN__) || defined(__MSYS__)
     ESCDELAY = 250;
 #endif
+    nonl();
     crmode();                        /* Cbreak mode */
     noecho();                           /* Echo off */
 }