mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-11 04:38:24 -06:00
AtlasEngine: Handle IntenseIsBold (#13577)
This change adds support for the `IntenseIsBold` rendering setting.
Windows Terminal for instance defaults to `false` here, causing
intense colors to only be bright but not bold.
## Validation Steps Performed
* Set "Intense text style" to "Bright colors"
* Enable AtlasEngine
* Print ``echo "`e[1mtest`e[0m"``
* "test" appears as bright without being bold ✅
This commit is contained in:
parent
2e8949d3e8
commit
feabe41a08
@ -621,7 +621,7 @@ try
|
||||
}
|
||||
|
||||
const u32x2 newColors{ gsl::narrow_cast<u32>(fg), gsl::narrow_cast<u32>(bg) };
|
||||
const AtlasKeyAttributes attributes{ 0, textAttributes.IsIntense(), textAttributes.IsItalic(), 0 };
|
||||
const AtlasKeyAttributes attributes{ 0, textAttributes.IsIntense() && renderSettings.GetRenderMode(RenderSettings::Mode::IntenseIsBold), textAttributes.IsItalic(), 0 };
|
||||
|
||||
if (_api.attributes != attributes)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user