emojis don't blink #20490

Open
opened 2026-01-31 07:15:17 +00:00 by claunia · 4 comments
Owner

Originally created by @ClaireCJS on GitHub (Sep 18, 2023).

Windows Terminal version

No response

Windows build number

No response

Other Software

No response

Steps to reproduce

Use ansi codes to set blinking on

Print some ASCII characters around an emoji character

Expected Behavior

All characters will blink

Actual Behavior

The ASCII (unicode?) characters blink, but the emoji characters do not.

ADDITIONAL COMMENTS:

At the very least, the background around it could be blunk.

I did this: I simulated blinking emoji via a gentle blinking of the black background around the emoji.

I set a slightly-above-black custom RGB foreground character and then using both reverse and blink at once -- which caused the foreground to become the background and be the part that blunk. Perhaps that is a bug too, but I liked that it was still possible to simulate a blinking emoji.

But such trickery shoudln't really be needed, in my opinion?

Originally created by @ClaireCJS on GitHub (Sep 18, 2023). ### Windows Terminal version _No response_ ### Windows build number _No response_ ### Other Software _No response_ ### Steps to reproduce Use ansi codes to set blinking on Print some ASCII characters around an emoji character ### Expected Behavior All characters will blink ### Actual Behavior The ASCII (unicode?) characters blink, but the emoji characters do not. **ADDITIONAL COMMENTS:** At the very least, the background around it could be blunk. I did this: I simulated blinking emoji via a gentle blinking of the black background around the emoji. I set a slightly-above-black custom RGB foreground character and then using both reverse and blink at once -- which caused the foreground to become the background and be the part that blunk. Perhaps that is a bug too, but I liked that it was still possible to simulate a blinking emoji. But such trickery shoudln't really be needed, in my opinion?
claunia added the Area-RenderingIssue-BugProduct-Terminal labels 2026-01-31 07:15:17 +00:00
Author
Owner

@lhecker commented on GitHub (Sep 18, 2023):

This is because blinking dims the foreground color:
2fa8e766bb/src/renderer/base/RenderSettings.cpp (L156)

...and emojis are unaffected by the chosen foreground color. We could consider not using the dim attribute for blinking and instead start using the alpha component of the foreground color for this (or similar).

@lhecker commented on GitHub (Sep 18, 2023): This is because blinking dims the foreground color: https://github.com/microsoft/terminal/blob/2fa8e766bb516aa02d248e2dfe46d2b3269c3c9e/src/renderer/base/RenderSettings.cpp#L156 ...and emojis are unaffected by the chosen foreground color. We could consider not using the dim attribute for blinking and instead start using the alpha component of the foreground color for this (or similar).
Author
Owner

@ClaireCJS commented on GitHub (Mar 13, 2024):

I simulate it by going into ansi reverse mode and blinking, which blinks the background (which was previously the foreground before ansi reverse), which, can be set to a custom rgb value to get the aesthetic blink one wants.

But yes — The fact that emojis can be italicized just makes me think other operators (underline, bold, blink) should work as well.

@ClaireCJS commented on GitHub (Mar 13, 2024): I simulate it by going into ansi reverse mode and blinking, which blinks the background (which was previously the foreground before ansi reverse), which, can be set to a custom rgb value to get the aesthetic blink one wants. But yes — The fact that emojis can be italicized just makes me think other operators (underline, bold, blink) should work as well.
Author
Owner

@DHowett commented on GitHub (Mar 13, 2024):

Well, they'll blink if you turn off full-color emoji after #16871 lands!

We should also make them blink when they are full color. 😁

@DHowett commented on GitHub (Mar 13, 2024): Well, they'll blink if you turn off full-color emoji after #16871 lands! We should also make them blink when they _are_ full color. 😁
Author
Owner

@ClaireCJS commented on GitHub (Mar 14, 2024):

I agree!!!

@ClaireCJS commented on GitHub (Mar 14, 2024): I agree!!!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20490