* usr/lib/byobu/logo: LP: #952724

- handle VTE_CJK_WIDTH=1 for asian locales
This commit is contained in:
Dustin Kirkland 2012-03-20 11:42:49 -05:00
commit eef6b20668
2 changed files with 10 additions and 1 deletions

5
debian/changelog vendored
View file

@ -1,10 +1,15 @@
byobu (5.17) unreleased; urgency=low
[ Dustin Kirkland ]
* usr/bin/byobu-status:
- performance improvement, testing for directory existence before
mkdir -p saves time
- localize a couple of function variables
[ Fumihito YOSHIDA (hito) ]
* usr/lib/byobu/logo: LP: #952724
- handle VTE_CJK_WIDTH=1 for asian locales
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 11 Mar 2012 07:23:06 -0500
byobu (5.16-0ubuntu1) precise; urgency=low

View file

@ -55,10 +55,14 @@ __logo() {
*ubuntu*)
if $MARKUP; then
if [ "$UTF8" = "1" ] || [ "$BYOBU_BACKEND" = "tmux" ]; then
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
color m W; printf " U "; color -
fi
else
printf "\\o/"
fi