TTY: Do not cut off statuslines at 80 characters
Show as much of the status line as possible, instead of chopping it at COLNO - this prevents possible game-influencing status effects (Ill, Burdened, etc) from being hidden.
This commit is contained in:
@@ -1061,7 +1061,7 @@ tty_create_nhwindow(type)
|
|||||||
#endif
|
#endif
|
||||||
newwin->offy = min((int)ttyDisplay->rows-2, ROWNO+1);
|
newwin->offy = min((int)ttyDisplay->rows-2, ROWNO+1);
|
||||||
newwin->rows = newwin->maxrow = 2;
|
newwin->rows = newwin->maxrow = 2;
|
||||||
newwin->cols = newwin->maxcol = min(ttyDisplay->cols, COLNO);
|
newwin->cols = newwin->maxcol = ttyDisplay->cols;
|
||||||
break;
|
break;
|
||||||
case NHW_MAP:
|
case NHW_MAP:
|
||||||
/* map window, ROWNO lines long, full width, below message window */
|
/* map window, ROWNO lines long, full width, below message window */
|
||||||
|
|||||||
Reference in New Issue
Block a user