diff rogue3/main.c @ 32:2dcd75e6a736

Fix the playback bug which was caused by CR/LF confusion
author elwin
date Tue, 16 Feb 2010 00:03:06 +0000
parents 09da55b986ca
children 88ab59f06dfc
line wrap: on
line diff
--- a/rogue3/main.c	Sat Feb 13 16:25:29 2010 +0000
+++ b/rogue3/main.c	Tue Feb 16 00:03:06 2010 +0000
@@ -327,6 +327,7 @@
     kill(0, SIGTSTP);
     signal(SIGTSTP, tstp);
 #endif
+    nonl();
     crmode();
     noecho();
     clearok(curscr, TRUE);
@@ -380,6 +381,7 @@
 	num_checks = 0;
     }
 
+    nonl();
     crmode();				/* Cbreak mode */
     noecho();				/* Echo off */
 }