srogue: Fix CR/LF playback bug.

This commit is contained in:
John "Elwin" Edwards 2010-12-06 19:43:32 +00:00
parent 07b5ea7c50
commit 02c8fd2586
2 changed files with 2 additions and 0 deletions

View file

@ -661,6 +661,7 @@ shell()
#endif #endif
printf("\n%s", retstr); printf("\n%s", retstr);
fflush(stdout); fflush(stdout);
nonl();
noecho(); noecho();
crmode(); crmode();
in_shell = FALSE; in_shell = FALSE;

View file

@ -417,6 +417,7 @@ setup()
signal(SIGPIPE, game_err); signal(SIGPIPE, game_err);
signal(SIGTERM, game_err); signal(SIGTERM, game_err);
nonl();
cbreak(); cbreak();
noecho(); noecho();
} }