mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-22 01:40:17 -05:00
csi: don't allow client app to enable grapheme-shaping when disabled at compile-time
Closes #2039
This commit is contained in:
parent
1a2e5f4932
commit
cb2a64c585
2 changed files with 7 additions and 0 deletions
|
|
@ -68,6 +68,11 @@
|
|||
### Fixed
|
||||
|
||||
* `colors.alpha-mode=matching` not working as intended.
|
||||
* Grapheme shaping was allowed to be "enabled" at runtime, even though
|
||||
disabled at compile time. This caused mis-rendering of certain
|
||||
codepoints ([#2039][2039]).
|
||||
|
||||
[2039]: https://codeberg.org/dnkl/foot/issues/2039
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
2
csi.c
2
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue