From 5713361f64d054a03c2c8b49493ac8e601fe94a7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 18 Apr 2005 09:22:02 +0000 Subject: [PATCH] Try to handle message scrolling in curses. --- io.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/io.c b/io.c index fd50f61..4181529 100644 --- a/io.c +++ b/io.c @@ -121,7 +121,10 @@ void skip(int i) { while (i-- > 0) { if (game.options & OPTION_CURSES) { - proutn("\n"); + if (curwnd == message_window && getcury(curwnd) == getmaxy(curwnd)) + pause_game(0); + else + proutn("\n"); } else { linecount++; if (linecount >= rows) -- 2.31.1