mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
tests: config: test colors.alpha-mode
This commit is contained in:
parent
d2d4f53861
commit
f7807c0f4c
1 changed files with 5 additions and 0 deletions
|
|
@ -720,6 +720,11 @@ test_section_colors(void)
|
|||
&conf.colors.search_box.match.fg,
|
||||
&conf.colors.search_box.match.bg);
|
||||
|
||||
test_enum(&ctx, &parse_section_colors, "alpha-mode", 3,
|
||||
(const char *[]){"default", "matching", "all"},
|
||||
(int []){ALPHA_MODE_DEFAULT, ALPHA_MODE_MATCHING, ALPHA_MODE_ALL},
|
||||
(int *)&conf.colors.alpha_mode);
|
||||
|
||||
for (size_t i = 0; i < 255; i++) {
|
||||
char key_name[4];
|
||||
sprintf(key_name, "%zu", i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue