Re: [PATCH v2 (mentions of reverse mode eliminated)] Add style tui-cursorline command to colorize TUI current line.

Andrei Pikas
2022-07-18T15:33:03Z

> > This is to support all 256 colors
> > https://www.ditig.com/256-colors-cheat-sheet . I want to use the
> > lightest shade of gray #255 for the background.
>
> Thanks. I've been playing with adding 256 colour support to GDB.
>
> I think this change is big enough that it should be split into a
> separate patch.
Do you think it's OK to set colors as enum without corresponding
numbers for colors 0-7?
Or maybe it would be better to add something like case var_color: into
do_set_command to support all possible colors which
ui_file_style::color supports?
Or maybe just to store value as simple var_string, but to extend
struct cmd_list_element with custom validation function, to validate
color string at the time of setting, rather then on first use?