aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-09-20 11:45:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-09-25 14:50:44 +0000
commit4eef001d5855b9b5afb59bbd3b92b3a2828fcca0 (patch)
treeb82c167fdd088f7c7a5d7595f2e77de8e16bf128 /doc
parentdcs: xtgettcap: ignore queries with invalid hex encodings (diff)
csi: implement DECSET/DECRST/DECRQM 2027 - grapheme cluster processing
This implements private mode 2027 - grapheme cluster processing, as defined in the "Terminal Unicode Core"[1] specification. Internally, we just flip the already existing option "grapheme shaping". Since it's now runtime changeable, we need a copy of it in the terminal struct, rather than referencing the conf object. [1]: https://github.com/contour-terminal/terminal-unicode-core/blob/13fc5a8993a033ff10c1f3433d08cb618cde4ac2/spec/terminal-unicode-core.tex#L50-L53
Diffstat (limited to 'doc')
-rw-r--r--doc/foot-ctlseqs.7.scd3
-rw-r--r--doc/foot.ini.5.scd2
2 files changed, 5 insertions, 0 deletions
diff --git a/doc/foot-ctlseqs.7.scd b/doc/foot-ctlseqs.7.scd
index 3fa03158..d26bb39d 100644
--- a/doc/foot-ctlseqs.7.scd
+++ b/doc/foot-ctlseqs.7.scd
@@ -328,6 +328,9 @@ that corresponds to one of the following modes:
| 2026
: terminal-wg
: Application synchronized updates mode
+| 2027
+: contour
+: Grapheme cluster processing
| 8452
: xterm
: Position cursor to the right of sixels, instead of on the next line
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index d9470626..24c42a5e 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -1307,6 +1307,8 @@ any of these options.
- foot must have been compiled with utf8proc support
- fcft must have been compiled with HarfBuzz support
+ This option can also be set runtime with DECSET/DECRST 2027.
+
See also: *grapheme-width-method*.
Default: _yes_