projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ed65b
)
Try to handle message scrolling in curses.
author
Eric S. Raymond
<esr@thyrsus.com>
Mon, 18 Apr 2005 09:22:02 +0000
(09:22 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Mon, 18 Apr 2005 09:22:02 +0000
(09:22 +0000)
io.c
patch
|
blob
|
history
diff --git
a/io.c
b/io.c
index fd50f61ab570bd2dfaf4eb925f390197981f1db9..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");
+ if (curwnd == message_window && getcury(curwnd) == getmaxy(curwnd))
+ pause_game(0);
+ else
+ proutn("\n");
} else {
linecount++;
if (linecount >= rows)