You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
According to [this answer](https://askubuntu.com/a/985386),
`\e[58:2:R:G:Bm` is considered a "rarely used incorrect format" for
truecolor.
I tested it on Windows Terminal with WSL2, and it didn’t work. After
changing the format to `\e[58::2:R:G:Bm`, which is noted as the
"commonly used standard way," it worked as expected.
The change I made is as follows:
```diff
- set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
+ set -as terminal-overrides ',*:Setulc=\E[58::2::::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
```
I’d appreciate it if someone could test this on more platforms.
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
0 commit comments