Allow perm_invent to be enabled with 1 less line when statuslines==2 by not reserving a line for statuslines==3. If the player changes that from 2 to 3, the perm_invent window is torn down and repositioned one line lower if that will fit. If it won't fit, it won't reenable. Temporarily(?) allow perminv_mode==InUse to be enabled with room for only 8 lines instead of requiring 15. It will use more than 8 if are more rows. 8 happens to be the amount (via 1+21+3+(1+8+1)) that will fit within 35 lines which is the biggest I can make fit on may laptop without switching to a smaller font. Switching is a nuisance, worse than that for the font tiny enough to fit the full perm_invent. ToDo: if in-use won't fit in the number of lines allotted, switch to two columns before resorting to ignoring the excess. Maybe: allow fewer lines for full perm_invent too and use the '|' command to scroll them. Might be too clumsy to be worthwhile.
162 KiB
162 KiB