changeset 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 856017d63519
children 6b5fbd7c3ece
files xrogue/state.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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 */
 }