aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYorick Peterse <git@yorickpeterse.com>2022-08-19 00:54:49 +0000
committerYorick Peterse <git@yorickpeterse.com>2022-08-20 20:16:32 +0000
commita0942f950df3b8826db4b1a3f149b7d0ed45adcf (patch)
treeb93f1026de15cc2096b89e3178e5b7a03aa2c6c7 /tests
parentci: codespell: ignore ‘zar’ (user who contributed) (diff)
config: add setting for underline thickness
This adds an "underline-thickness" setting to the "main" section, similar to the existing "underline-offset" setting. This setting is used to specify a custom height for regular (= non-cursor) underlines. Fixes #1136
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index 930be6bf..837c5106 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -470,6 +470,7 @@ test_section_main(void)
test_pt_or_px(&ctx, &parse_section_main, "letter-spacing", &conf.letter_spacing);
test_pt_or_px(&ctx, &parse_section_main, "horizontal-letter-offset", &conf.horizontal_letter_offset);
test_pt_or_px(&ctx, &parse_section_main, "vertical-letter-offset", &conf.vertical_letter_offset);
+ test_pt_or_px(&ctx, &parse_section_main, "underline-thickness", &conf.underline_thickness);
test_uint16(&ctx, &parse_section_main, "resize-delay-ms", &conf.resize_delay_ms);
test_uint16(&ctx, &parse_section_main, "workers", &conf.render_worker_count);