[PR #12270] Rename the "Bold" SGR attribute as "Intense" #28947

Open
opened 2026-01-31 09:31:48 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/12270

State: closed
Merged: Yes


When we gave users the ability to configure how the SGR 1 attribute
should be rendered, we described those options as "intense is bright"
and "intense is bold". Internally, though, we still referred to the SGR 1
attribute as bold. This PR renames all occurrences of "Bold" (when
referring to the SGR 1 attribute) as "Intense", so the terminology is
more consistent now.

PR #10969 is where we decided on the wording to describe the SGR 1
attribute.

Specific changes include:

  • TextAttribute::IsBold method renamed to IsIntense
  • TextAttribute::SetBold method renamed to SetIntense
  • VtEngine::_SetBold method renamed to _SetIntense
  • ExtendedAttributes::Bold enum renamed to Intense
  • GraphicsOptions::BoldBright enum renamed to Intense
  • GraphicsOptions::NotBoldOrFaint enum renamed to NotIntenseOrFaint
  • SgrSaveRestoreStackOptions::Boldness enum renamed to Intense

Validation Steps Performed

I've checked that the code still compiles and the unit tests still run
successfully.

Closes #12252

**Original Pull Request:** https://github.com/microsoft/terminal/pull/12270 **State:** closed **Merged:** Yes --- When we gave users the ability to configure how the `SGR 1` attribute should be rendered, we described those options as "intense is bright" and "intense is bold". Internally, though, we still referred to the `SGR 1` attribute as bold. This PR renames all occurrences of "Bold" (when referring to the `SGR 1` attribute) as "Intense", so the terminology is more consistent now. PR #10969 is where we decided on the wording to describe the `SGR 1` attribute. Specific changes include: * `TextAttribute::IsBold` method renamed to `IsIntense` * `TextAttribute::SetBold` method renamed to `SetIntense` * `VtEngine::_SetBold` method renamed to `_SetIntense` * `ExtendedAttributes::Bold` enum renamed to `Intense` * `GraphicsOptions::BoldBright` enum renamed to `Intense` * `GraphicsOptions::NotBoldOrFaint` enum renamed to `NotIntenseOrFaint` * `SgrSaveRestoreStackOptions::Boldness` enum renamed to `Intense` ## Validation Steps Performed I've checked that the code still compiles and the unit tests still run successfully. Closes #12252
claunia added the pull-request label 2026-01-31 09:31:48 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28947