From cb2a64c5854205092150afe80f96177764bd4038 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 19 Apr 2025 12:16:48 +0200 Subject: csi: don't allow client app to enable grapheme-shaping when disabled at compile-time Closes #2039 --- csi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'csi.c') 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: -- cgit v1.3