mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-13 05:33:51 -04:00
config: add tweak.grapheme-width-method=wcswidth|at-most-2
This commit is contained in:
parent
031e8f5987
commit
9817e44c32
5 changed files with 46 additions and 5 deletions
|
|
@ -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 *at-most-2*
|
||||
and *wcswidth*.
|
||||
|
||||
*wcswidth* simply adds together the individual width of all
|
||||
codepoints making up the cluster.
|
||||
|
||||
*at-most-2* 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: _at-most-2_
|
||||
|
||||
*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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue