Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Support grapheme clusters #6

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Support grapheme clusters #6

wants to merge 1 commit into from

Commits on Nov 7, 2021

  1. Support grapheme clusters

    senpai now correctly computes the width of unicode strings, such as
    sequences of emoji interleaved with Zero-Width-Joiners, and the editor
    goes from cluster to cluster, instead of codepoint (rune) to codepoint.
    
    This breaks users on terminal that do not support grapheme clusters,
    such as alacritty[0].
    
    See http://unicode.org/reports/tr29/
    and https://github.com/rivo/uniseg
    
    [0] alacritty/alacritty#3975
    hhirtz committed Nov 7, 2021
    Configuration menu
    Copy the full SHA
    2ca8e2d View commit details
    Browse the repository at this point in the history