From: Pasi Kallinen Date: Sun, 8 Mar 2015 08:40:26 +0000 (+0200) Subject: TTY: Do not cut off statuslines at 80 characters X-Git-Tag: NetHack-3.6.0_RC01~492^2~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb2351b83f60924b226c7532a36aca28f7c57792;p=nethack 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. --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 67b0243d4..19af943b9 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -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 */