We do not support Faint text.
Original content
Windows Terminal doesn't appear to support the dim ansi escape code (SGR 2) or italic (SGR 3). Adding support for these would I think bring WT up to feature parity with most OSX and Linux terminals.
There are other SGR escape codes that would be nice to have, but aren't as common or as useful as dim and italic.
Dim strikes me as an easy one to achieve. I imagine italic would be a little trickier.
Thanks!
This is a curious issue. We're tracking all manner of different versions of "terminal doesn't render specific attributes":
I just started tackling #109, despite it being divisive, and I think the infrastructure we need to build to get it off the ground (a "base + variant" system for fonts) is going to be required for this.
I'm going to close this shortly but rework all of the above issues into an amalgamated "we should support different attributes, from parsing through to rendering" issue. Does that sound good?
Sounds good to me 馃憤
I'm going to close this shortly but rework all of the above issues into an amalgamated "we should support different attributes, from parsing through to rendering" issue. Does that sound good?
I added #6779 which provides a test script and an expected output.
It links another issue: there is no font switching, which would be useful for mixing different fonts.
@DHowett I've just realised this has been assigned to you, and wanted to check exactly which parts you're working on, or planning to work on. Reason being I was about to start on the faint attribute, as a follow up to the color refactoring in PR #6853, but if you already have plans for that, I can leave it to you.
Edit: I should add that my intention was to treat the faint attribute as entirely separate from bold/bright - i.e. both can be applied at the same time. My reasoning for this is explained in issue https://github.com/microsoft/terminal/issues/2916#issuecomment-652061927.
@j4james it鈥檚 assigned to me for administrative reasons; I鈥檓 going to create a scenario for the various attributes impacting the display of text, and then close/rework some of the ones we already have open to fit under it. If you want to do work in this area, you鈥檙e welcome to :smile: I just may change which issue number your PR eventually closes
I've repurposed this to track Faint, and crossed out mention of Faint in #2916. Your pull request can unabashedly close this issue and drop mention of 2916.
I've filed #6879 to track "all" attributes.
:tada:This issue was addressed in #6873, which has now been successfully released as Windows Terminal Preview v1.2.2022.0.:tada:
Handy links:
馃帀 As of Windows Insider build 20197, this is also supported in the traditional console.