curses vs !HILITE_STATUS
The curses interface wouldn't build with HILITE_STATUS disabled. I started adapting it to handle genl_status_update() but that was taking too much effort with each niggling detail leading to another. This goes the opposite direction: forcing the old STATUS_VIA_WINDOWPORT behavior without having that #define available. That dragged along a bunch of unexpected changes too.
This commit is contained in:
@@ -354,7 +354,8 @@ curses_destroy_nhwindow(winid wid)
|
||||
curses_teardown_messages(); /* discard ^P message history data */
|
||||
break;
|
||||
case STATUS_WIN:
|
||||
curses_status_finish(); /* discard cached status data */
|
||||
if (VIA_WINDOWPORT())
|
||||
curses_status_finish(); /* discard cached status data */
|
||||
break;
|
||||
case INV_WIN:
|
||||
iflags.perm_invent = 0; /* avoid unexpected update_inventory() */
|
||||
|
||||
Reference in New Issue
Block a user