shorten options.c a little by moving some color stuff out of it

creates new coloratt.c file

Also, this attempts to fulfill a wish-list item by paxed, to
allow naming colors in symbols file by name as an alternative
to using r-g-b values.  The basic color names as well as html
color names are supported.
This commit is contained in:
nhmall
2024-03-03 14:11:17 -05:00
parent fb353fff6c
commit dbea5d8684
8 changed files with 807 additions and 573 deletions

View File

@@ -445,9 +445,7 @@ extern struct nomakedefs_s nomakedefs;
#define MAX_MSG_HISTORY 128 /* max # of lines in msg_history */
#endif
typedef struct color_and_attr {
int color, attr;
} color_attr;
#include "color.h"
/*
* Version 3.7.x has aspirations of portable file formats. We