pick-a-color in color
Similar to how the pick-an-attribute menu for menu colors and status highlights shows the attribute names using the attribute so that you can see how it looks (or whether it is supported), have the pick-a-color menu show the color names in the corresponding color. Does so by temporarily removing any user-specified menu colors and setting up another list of such for matching color names. Forces the 'menucolors' option On while the pick-a-color menu is in use, then restores the previous setting along with the user's menu colorings. Might need some way to avoid setting that for a configuration where colors don't work.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.300 $ $NHDT-Date: 1599686385 2020/09/09 21:19:45 $
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.301 $ $NHDT-Date: 1599778430 2020/09/10 22:53:50 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -521,6 +521,8 @@ add section marker [] support to run-time config file; CHOOSE section1,section2
|
||||
file to be part of the last section; that still works the same, but []
|
||||
can be used to terminate the last section and revert to common options
|
||||
for the remainder of the file
|
||||
render the color names in the corresponding color when using the pick-a-color
|
||||
menu for adding status highlights or menu colors via 'O'
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific New Features
|
||||
|
||||
Reference in New Issue
Block a user