aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-10 09:11:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-10 09:11:47 +0000
commitf78ba6653f591fc4c72ead45b3f6e66063fdab0b (patch)
treebe563000f53c86cfd61db1595a04715fce5b5fbe /config.c
parentMerge branch 'underline-cursor-below-text-underline' (diff)
parentdoc: foot.ini: codespell: antaliasing -> antialiasing (diff)
Merge branch 'optionally-render-box-drawing-characters-using-font-glyphs'
Closes #430
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.c b/config.c
index 8809163c..653c3f8a 100644
--- a/config.c
+++ b/config.c
@@ -770,6 +770,9 @@ parse_section_main(const char *key, const char *value, struct config *conf,
}
}
+ else if (strcmp(key, "box-drawings-uses-font-glyphs") == 0)
+ conf->box_drawings_uses_font_glyphs = str_to_bool(value);
+
else {
LOG_AND_NOTIFY_ERR("%s:%u: [default]: %s: invalid key", path, lineno, key);
return false;
@@ -2198,6 +2201,7 @@ config_load(struct config *conf, const char *conf_path,
.letter_spacing = { .pt = 0, .px = 0, },
.horizontal_letter_offset = {.pt = 0, .px = 0, },
.vertical_letter_offset = {.pt = 0, .px = 0, },
+ .box_drawings_uses_font_glyphs = false,
.dpi_aware = DPI_AWARE_AUTO, /* DPI-aware when scaling-factor == 1 */
.scrollback = {
.lines = 1000,