diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-07-01 17:55:50 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-07-01 17:55:50 +0000 |
| commit | d9fc1e0d8aaf580649aef2f900948e2e053fb9df (patch) | |
| tree | f3aebec4807e101387eb07451451d13d2a925357 /doc | |
| parent | config: add unit test for config_clone() (diff) | |
| parent | config: rename at-most-2 (value for grapheme-width-method) to double-width (diff) | |
Merge branch 'max-grapheme-width-is-2'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 18 |
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 |
