libsir icon indicating copy to clipboard operation
libsir copied to clipboard

Check if in 256-color mode, text output flashes in windows terminal

Open aremmell opened this issue 1 year ago • 0 comments

I noticed this using the ANSI macros, specifically the one that sets fg and bg simultaneously in 256-color mode, so I'm concerned that libsir might have the same bug.

The fix is to just remove the 4[89];5 entirely and only put 48 in there when you intend to set the background color. Otherwise, it seems like Windows Terminal is interpreting that trailing 5 as a flashing text command.

aremmell avatar Oct 02 '23 03:10 aremmell