aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-30 16:00:33 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-01 05:58:06 +0000
commit9817e44c325f5d44f64bfa768107998134ea7f59 (patch)
tree60412220158008983064e696073355dbe0d37c52 /config.h
parentvt: limit grapheme width to 2 cells (diff)
config: add tweak.grapheme-width-method=wcswidth|at-most-2
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 ee427267..57305b22 100644
--- a/config.h
+++ b/config.h
@@ -246,6 +246,7 @@ struct config {
enum fcft_scaling_filter fcft_filter;
bool allow_overflowing_double_width_glyphs;
bool grapheme_shaping;
+ enum {GRAPHEME_WIDTH_WCSWIDTH, GRAPHEME_WIDTH_MAX_2} grapheme_width_method;
bool render_timer_osd;
bool render_timer_log;
bool damage_whole_window;