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:
Pasi Kallinen
2015-03-08 10:40:26 +02:00
parent 1609081320
commit a66b498dda

View File

@@ -1061,7 +1061,7 @@ tty_create_nhwindow(type)
#endif
newwin->offy = min((int)ttyDisplay->rows-2, ROWNO+1);
newwin->rows = newwin->maxrow = 2;
newwin->cols = newwin->maxcol = min(ttyDisplay->cols, COLNO);
newwin->cols = newwin->maxcol = ttyDisplay->cols;
break;
case NHW_MAP:
/* map window, ROWNO lines long, full width, below message window */