MCPcopy Create free account
hub / github.com/NetHack/NetHack / handler_menu_headings

Function handler_menu_headings

src/options.c:5779–5792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5777}
5778
5779staticfn int
5780handler_menu_headings(void)
5781{
5782 boolean gotca = query_color_attr(&iflags.menu_headings,
5783 "How to highlight menu headings:");
5784
5785 if (gotca) {
5786 /* header highlighting affects persistent inventory display */
5787 if (iflags.perm_invent)
5788 update_inventory();
5789 }
5790 adjust_menu_promptstyle(WIN_INVEN, &iflags.menu_headings);
5791 return optn_ok;
5792}
5793
5794staticfn int
5795handler_menu_objsyms(void)

Callers 1

optfn_menu_headingsFunction · 0.85

Calls 3

query_color_attrFunction · 0.85
update_inventoryFunction · 0.85
adjust_menu_promptstyleFunction · 0.85

Tested by

no test coverage detected