aboutsummaryrefslogtreecommitdiff
path: root/doc/foot.ini.5.scd
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-07-01 18:13:49 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-07-01 18:13:49 +0000
commitfd974e139e34b4dd0e1f0b990a30849db01ee7ab (patch)
tree9dcf9dd87db09f9d8a54b51395a3f4366f5b1304 /doc/foot.ini.5.scd
parentgenerate-version: fix regression where a tagged version was parsed wrong (diff)
parentchangelog: move grapheme cluster width entry to ‘changed’, and rewrite it (diff)
Merge branch 'master' into releases/1.8
Diffstat (limited to 'doc/foot.ini.5.scd')
-rw-r--r--doc/foot.ini.5.scd18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 2e408b3a..684497ca 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -997,8 +997,26 @@ any of these options.
but is necessary to not break cursor synchronization with the
application running in foot.
+ See also: *grapheme-width-method*.
+
Default: _no_
+*grapheme-width-method*
+ Selects which method to use when calculating the width
+ (i.e. number of columns) of a grapheme cluster. One of
+ *double-width* and *wcswidth*.
+
+ *wcswidth* simply adds together the individual width of all
+ codepoints making up the cluster.
+
+ *double-width* does the same, but limits the maximum number of
+ columns to 2. This is more correct, but is likely to break
+ applications since applications typically use *wcswidth*(3)
+ internally to calculate the width. This results in cursor
+ de-synchronization issues.
+
+ Default: _double-width_
+
*max-shm-pool-size-mb*
This option controls the amount of virtual address space used by
the pixmap memory to which the terminal screen content is