projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yet more documenation of the history, and archiving of some ancestral versions.
[super-star-trek.git]
/
io.c
diff --git
a/io.c
b/io.c
index d34184206dda81290214e4fbd52f0bd0b06046a9..8698ab8ec9b68ab23e379a626deb566954f796de 100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-121,7
+121,14
@@
void skip(int i)
{
while (i-- > 0) {
if (game.options & OPTION_CURSES) {
{
while (i-- > 0) {
if (game.options & OPTION_CURSES) {
- proutn("\n\r");
+ if (curwnd == message_window && linecount >= getmaxy(curwnd) - 3) {
+ pause_game(0);
+ clrscr();
+ } else {
+ proutn("\n");
+ if (curwnd == message_window)
+ linecount++;
+ }
} else {
linecount++;
if (linecount >= rows)
} else {
linecount++;
if (linecount >= rows)
@@
-218,6
+225,7
@@
void clrscr (void)
wmove(curwnd,0,0);
wrefresh(curwnd);
}
wmove(curwnd,0,0);
wrefresh(curwnd);
}
+ linecount = 0;
}
void textcolor (int color)
}
void textcolor (int color)