csi: don't allow client app to enable grapheme-shaping when disabled at compile-time

Closes #2039
This commit is contained in:
Daniel Eklöf 2025-04-19 12:16:48 +02:00
parent 1a2e5f4932
commit cb2a64c585
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 7 additions and 0 deletions

2
csi.c
View file

@ -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: