Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
11202: [color] Use graphemes to measure strings. r=pgavlin a=pgavlin 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. Co-authored-by: Pat Gavlin <pat@pulumi.com>
- Loading branch information
Showing
24 changed files
with
8,974 additions
and
8,930 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
...ending/20221109--cli-display--fix-text-cutting-off-prior-to-the-edge-of-the-terminal.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
changes: | ||
- type: fix | ||
scope: cli/display | ||
description: Fix text cutting off prior to the edge of the terminal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.