'color' in simple options menu
'color' appears in the simplified O menu for curses, but was not showing up for tty. That's because it is hidden when tiles are in use, and tty has had a bogus value for iflags.wc_tiled_map. Presence of USE_TILES is not a reliable way to tell whether tiles are available in a multi-interface binary. Nor is the setting of DEFAULT_WC_TILED_MAP from config.h.
This commit is contained in:
@@ -78,6 +78,8 @@ static int optfn_##a(int, int, boolean, char *, char *);
|
||||
{ m, OptS_##sec, 0, b, opt_##a, s, OthrOpt, n, v, d, No, c, \
|
||||
(boolean *) 0, &optfn_##a, al, z, (const char *) 0, On, On, 0 },
|
||||
|
||||
/* this is not reliable because USE_TILES might be defined in a
|
||||
multi-interface binary but not apply to the current interface */
|
||||
#ifdef USE_TILES
|
||||
#define tiled_map_Def On
|
||||
#define ascii_map_Def Off
|
||||
|
||||
Reference in New Issue
Block a user