aboutsummaryrefslogtreecommitdiff
path: root/config.h
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 /config.h
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 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 70e182e3..f98e4d35 100644
--- a/config.h
+++ b/config.h
@@ -150,6 +150,7 @@ struct config {
bool use_custom_underline_offset;
struct pt_or_px underline_offset;
+ struct pt_or_px underline_thickness;
bool box_drawings_uses_font_glyphs;
bool can_shape_grapheme;