aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-19 10:16:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-19 11:35:06 +0000
commitcb2a64c5854205092150afe80f96177764bd4038 (patch)
treecbf880312e2ff5e1f7cc20072433f8cdcc7235fe /csi.c
parentrender: fix colors.alpha-mode=matching (diff)
csi: don't allow client app to enable grapheme-shaping when disabled at compile-time
Closes #2039
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 81c71e31..b66fda21 100644
--- a/csi.c
+++ b/csi.c
@@ -558,7 +558,9 @@ decset_decrst(struct terminal *term, unsigned param, bool enable)
break;
case 2027:
+#if defined(FOOT_GRAPHEME_CLUSTERING)
term->grapheme_shaping = enable;
+#endif
break;
case 2048: