From: Eric S. Raymond Date: Thu, 20 Jan 2005 05:54:07 +0000 (+0000) Subject: Avoid an infinite loop on some skips. X-Git-Tag: 2.0~419 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a7bad7c3991a4e128c1413f785960d84e1ff87b5;p=super-star-trek.git Avoid an infinite loop on some skips. --- diff --git a/io.c b/io.c index 803e128..d67c232 100644 --- 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();