Avoid an infinite loop on some skips.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 20 Jan 2005 05:54:07 +0000 (05:54 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 20 Jan 2005 05:54:07 +0000 (05:54 +0000)
io.c

diff --git a/io.c b/io.c
index 803e128966654191113de0ee57653d0e3d1dd738..d67c23276c78a4af375b0e78d67eee45b8fa6a79 100644 (file)
--- a/io.c
+++ b/io.c
@@ -130,7 +130,7 @@ void pause_game(int i) {
                wrefresh(stdscr);
        } else {
                putchar('\n');
-               prout(prompt);
+               proutn(prompt);
                fgets(buf, sizeof(buf), stdin);
                if (i != 0) {
                        clearscreen();