undo a dodgy 'O' menu optimization

Normally the 'O' menu covers the status display, but not always.

Toggling 'time' or 'showexp' via the "simple 'O'" menu should update
the status lines.

Toggling 'hitpointbar' already does so so.  I didn't try to figure out
why.  Presumeably it triggers a different bot() call somewhere and the
code here sees 'disp.bot' as reset to False.

I didn't check the behavior when adding or removing a status highlight
but those can change the current status display.
This commit is contained in:
PatR
2024-04-04 13:35:51 -07:00
parent 28ed8e7962
commit 2b0459e2b8

View File

@@ -8497,14 +8497,11 @@ doset_simple(void)
reset_customsymbols();
docrt_flags(opt_crt_flags);
}
/*
* I don't think the status window requires updating between
* simplemenu iterations.
if (disp.botl || disp.botlx) {
/* status may need updating if terminal is tall enough that
doset_simple menu doesn't cover up status or wide enough for
curses to honor player's choice of align_status:Right|Left */
if (disp.botl || disp.botlx)
bot();
}
*/
} while (pickedone > 0);
give_opt_msg = TRUE;
return ECMD_OK;