Fancy colored rendering issue on osx 10.8 retina with iTerm

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

Blake Taylor

Posted 2012-09-20T17:19:51.730

Reputation: 201

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

Answers

3

The latest iTerm2 beta builds have this fixed. I can confirm that it is fixed in iTerm2-1_0_0_20121224.zip, but you'll probably want to run the latest build available. See this for the latest builds. They don't show up in the updates for me, even with Beta builds check enabled.

HerbCSO

Posted 2012-09-20T17:19:51.730

Reputation: 193