aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-09-03 15:37:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-09-03 15:37:44 +0000
commitb71016c25dc18a2c098a87439046873c6c9ddb30 (patch)
treed26b848748013856dc29f9551ef5c6b2bcbdc30e /config.h
parentMerge branch 'refresh-margins-on-background-palette-change' into master (diff)
render: optionally enable heuristics that deal with private usage area chars
Try to detect double-width *glyphs* for single-width *characters*, and allow them to overflow into the next cell. This is only done for single-width chars with a glyph width that is at least 1.5 cells wide, but at most 3 cells. The feature is gated by the new ‘tweak.allow-overflowing-double-width-glyphs’, and is disabled by default. Closes #116
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 fac5ea89..2368e53c 100644
--- a/config.h
+++ b/config.h
@@ -144,6 +144,7 @@ struct config {
bool hold_at_exit;
struct {
+ bool allow_overflowing_double_width_glyphs;
bool render_timer_osd;
bool render_timer_log;
uint64_t delayed_render_lower_ns;