Avoid noise diffs around logging of seed command.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 21 Mar 2023 19:05:31 +0000 (15:05 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 23 Mar 2023 15:28:53 +0000 (11:28 -0400)
main.c

diff --git a/main.c b/main.c
index 398081d4de2a486f40666dabfadffa0b42e8c39c..558edcf2a5dc191864d1a3ee5596d63cd0425791 100644 (file)
--- a/main.c
+++ b/main.c
@@ -147,7 +147,7 @@ static bool fallback_handler(signed char *buf)
     long sv;
     if (sscanf(buf, "seed %ld", &sv) == 1) {
        set_seed(sv);
-       printf("Seed set to %ld\n", sv);
+       printf("\nSeed set to %ld\n", sv);
        // autogenerated, so don't charge user time for it.
        --TURNS;
        // here we reconfigure any global game state that uses random numbers