projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to handle message scrolling in curses.
[super-star-trek.git]
/
io.c
diff --git
a/io.c
b/io.c
index d34184206dda81290214e4fbd52f0bd0b06046a9..418152969d23cfedcbee5771ab242b293af3ce17 100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-121,7
+121,10
@@
void skip(int i)
{
while (i-- > 0) {
if (game.options & OPTION_CURSES) {
- proutn("\n\r");
+ if (curwnd == message_window && getcury(curwnd) == getmaxy(curwnd))
+ pause_game(0);
+ else
+ proutn("\n");
} else {
linecount++;
if (linecount >= rows)