From 02c8fd2586495e8a2936f26f3716b2555a60877c Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Mon, 6 Dec 2010 19:43:32 +0000 Subject: [PATCH] srogue: Fix CR/LF playback bug. --- srogue/command.c | 1 + srogue/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/srogue/command.c b/srogue/command.c index 8ddf56c..7651167 100644 --- a/srogue/command.c +++ b/srogue/command.c @@ -661,6 +661,7 @@ shell() #endif printf("\n%s", retstr); fflush(stdout); + nonl(); noecho(); crmode(); in_shell = FALSE; diff --git a/srogue/main.c b/srogue/main.c index 248b445..01e76ad 100644 --- a/srogue/main.c +++ b/srogue/main.c @@ -417,6 +417,7 @@ setup() signal(SIGPIPE, game_err); signal(SIGTERM, game_err); + nonl(); cbreak(); noecho(); }