ANSI dim not showing correctly after ANSI reverse
Bug report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.4.19
- OS version: macOS 11.7.3 Big Sur
- Attach
~/Library/Preferences/com.googlecode.iterm2.plist
here: com.googlecode.iterm2.plist - Attach a debug log, if possible: N/A
- Attach a screen capture video if it would make the reproduction steps clearer:
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem
- Make sure you're using the fish shell: https://fishshell.com/
- Type
echo \x1b'[7m'reverse\x1b'[m'normal\x1b'[2m'dim
What happened
Both "normal" and "dim" were printed as normal text.
What should have happened
"dim" should have been printed as faint / dim text.
Notes
- If I remove the initial
echo \x1b'[7m'reverse
and do onlyecho \x1b'[m'normal\x1b'[2m'dim
then dimming works - If I try the same thing in the macOS terminal it works as expected