Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[color] Use graphemes to measure strings. #11202

Merged
merged 2 commits into from Nov 10, 2022
Merged

Commits on Nov 9, 2022

  1. [color] Use graphemes to measure strings.

    The number of Unicode code points in a string is not the same as the
    number of user-visible characters (graphemes). When measuring colorized
    strings, we want the latter rather than the former. Notably, these
    changes fix some issues where the interactive display cut off before the
    right edge of the terminal.
    pgavlin committed Nov 9, 2022
    Copy the full SHA
    3aecebe View commit details
    Browse the repository at this point in the history
  2. CL

    pgavlin committed Nov 9, 2022
    Copy the full SHA
    62dc0b1 View commit details
    Browse the repository at this point in the history