tty message loss

- typing ESC would lose messages if msg_window was not displayed
- incorporate <Someone>'s fix, which causes them to be tracked, just not
displayed, and thus still available for ^P viewing later on
This commit is contained in:
cohrs
2002-04-14 21:45:33 +00:00
parent c850007966
commit 1ca03c750d
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -1745,8 +1745,7 @@ tty_putstr(window, attr, str)
}
if(str == (const char*)0 ||
( (cw->flags & WIN_CANCELLED) &&
(cw->type != NHW_MESSAGE || !iflags.prevmsg_window) ))
((cw->flags & WIN_CANCELLED) && (cw->type != NHW_MESSAGE)))
return;
if(cw->type != NHW_MESSAGE)
str = compress_str(str);