]> granicus.if.org Git - nethack/commit
curses text windows
authorPatR <rankin@nethack.org>
Thu, 20 Jun 2019 08:14:50 +0000 (01:14 -0700)
committerPatR <rankin@nethack.org>
Thu, 20 Jun 2019 08:14:50 +0000 (01:14 -0700)
commit9f6588af49766c00998291ff79735922199c8563
treefc0b741e0ffd00667fa878f0ca775be31290d72e
parent3ea0cc1483bb10124c1d027fbb06e9c103360251
curses text windows

Most of the entries for '?' looked awful because curses was using
((terminal_width / 2) - 2) for the window width ('- 2' was to make
for for a border around the popup window, regardless of what the
'windowborder' option was set to).  Splitting text that has been
manually formatted for 80 columns "worked" but looked bad when not
required.

Some of the help files are using 79 characters on a few lines,
producing wrapped text when displayed.  Those would look better if
limited them to 78 or if curses can be modified to suppress the
window border when the entire display is being covered by a popup.
doc/fixes36.3
win/curses/cursdial.c