When processing |OPTIONS=windowcolors:window-type foreground-color/background-color parse the color values and use their names rather than the player's raw options text. Affects the feedback from 'm O' and is essential for the next feature. Accept either "gray" or "grey" where colortable[] always uses "gray" (half a dozen or so instances), and accept dash or underscore where colortable[] always uses dash (many instances). Also, complain about 'window-type' if it isn't recognized as one of menu, message, status, or text. [For curses, the complaint gets written to stdout and is then immediately erased as it goes into full screen mode. That's a general problem, not specific to this option.]
162 KiB
162 KiB