7
2
I use iTerm2, with oh-my-zsh and zsh and in my .zshrc
file I set a couple of my prompts to the unicode bolt symbol as follows.
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
RPROMPT="%(?..%{$fg[white]%}%?%{$fg[red]%}⚡)%{$reset_color%} ${ruby}"
This was all fine an dandy until I recently upgraded to Mountain Lion and a new MacBook Pro Retina. Now, my super cool lighting bolt, which use to display as a normal character, is super flash and is actually composed of yellow in the middle and orange along the edges. Unfortunately, I can't enjoy enjoy the effect because whatever is rendering this is causing the area around it to become transparent in iterm. This means, whatever is below the window is rendered in the area around the character.
Over a black background things are fine.
Over any other color things suck.
If someone could let me know how to fix this issue, or disable the fancy bolt I would be very appreciative. Thanks
On my 10.7 machine, that character (U+26a1) is one of the few emoji characters iTerm2 will display, perhaps because it isn't in the private-use range. The other characters, being far fancier, seem more like small graphics than font characters. Perhaps in 10.8, something about that character has changed, and iTerm2 is rendering it with a transparent background. I don't know if the behavior you are seeing is correct or not, but I would contact the iTerm2 developers directly to report as a bug, or to receive an explanation for what you are seeing. – chepner – 2012-09-22T16:54:19.553
I have the same issue (on 10.8), all colored unicode characters (e.g. Emoji) are displayed with full transparency around them (regardless of what iTerm window's background transparency is set to). All I know is that it works correctly under Terminal.app – Dan – 2013-02-09T15:25:33.580