X11: getlin dialog got steadily narrower each time it was used
unix: install recover command into GAMEDIR by default
tty: correctly handle an empty TERM environment variable
+tty: don't lose messages when ESC has canceled their display
General New Features
/* If there is room on the line, print message on same line */
/* But messages like "You die..." deserve their own line */
n0 = strlen(bp);
- if( (ttyDisplay->toplin == 1 ||
- (cw->flags & WIN_STOP && iflags.prevmsg_window)) &&
+ if ((ttyDisplay->toplin == 1 || (cw->flags & WIN_STOP)) &&
cw->cury == 0 &&
n0 + (int)strlen(toplines) + 3 < CO-8 && /* room for --More-- */
(notdied = strncmp(bp, "You die", 7))) {
if(!(cw->flags & WIN_STOP))
addtopl(bp);
return;
- } else if (!(cw->flags & WIN_STOP && !iflags.prevmsg_window)) {
+ } else if (!(cw->flags & WIN_STOP)) {
if(ttyDisplay->toplin == 1) more();
else if(cw->cury) { /* for when flags.toplin == 2 && cury > 1 */
docorner(1, cw->cury+1); /* reset cury = 0 if redraw screen */
}
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);