config: add colors.search-box-{no-,}match

Closes #1112
This commit is contained in:
Daniel Eklöf 2022-07-27 19:14:27 +02:00
parent 4873004c37
commit d79a3b9350
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 85 additions and 7 deletions

View file

@ -668,6 +668,12 @@ test_section_colors(void)
test_two_colors(&ctx, &parse_section_colors, "scrollback-indicator", false,
&conf.colors.scrollback_indicator.fg,
&conf.colors.scrollback_indicator.bg);
test_two_colors(&ctx, &parse_section_colors, "search-box-no-match", false,
&conf.colors.search_box.no_match.fg,
&conf.colors.search_box.no_match.bg);
test_two_colors(&ctx, &parse_section_colors, "search-box-match", false,
&conf.colors.search_box.match.fg,
&conf.colors.search_box.match.bg);
for (size_t i = 0; i < 255; i++) {
char key_name[4];