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. 11319: Add prelim interface contract for Capabilities API r=caseyyh a=caseyyh # Description Add request shapes for Capabilities API, which will moving forward help cement service/client contract in dynamically indicating which features are available in a given backend for the CLI to use. Related: https://github.com/pulumi/pulumi-service/issues/10510 ## Checklist <!--- Please provide details if the checkbox below is to be left unchecked. --> - [ ] I have added tests that prove my fix is effective or that my feature works <!--- User-facing changes require a CHANGELOG entry. --> - [ ] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change <!-- If the change(s) in this PR is a modification of an existing call to the Pulumi Service, then the service should honor older versions of the CLI where this change would not exist. You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add it to the service. --> - [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version <!-- `@Pulumi` employees: If yes, you must submit corresponding changes in the service repo. --> Co-authored-by: Pat Gavlin <pat@pulumi.com> Co-authored-by: Casey <casey@pulumi.com>
- Loading branch information
Showing
25 changed files
with
9,021 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.