Added VTE_CJK_WIDTH=1 support for Logo.

This commit is contained in:
Fumihito YOSHIDA 2012-03-12 19:51:00 +09:00
commit 6111eaac74

View file

@ -55,7 +55,11 @@ __logo() {
*ubuntu*) *ubuntu*)
if $MARKUP; then if $MARKUP; then
if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then
color m W; printf " u "; color - if [ ! "$VTE_CJK_WIDTH" = "1" ] && [ ! "$VTE_CJK_WIDTH" = "wide" ] ; then
color m W; printf " u "; color -
else
color m W; printf " U "; color -
fi
else else
color m W; printf " U "; color - color m W; printf " U "; color -
fi fi