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

- don't use the Ubuntu logo in the status line, as this breaks ssh
    clients coming to Ubuntu from other OSes without the Ubuntu font
This commit is contained in:
Dustin Kirkland 2018-08-12 08:44:08 -05:00
commit 23c8d9a92e
2 changed files with 7 additions and 1 deletions

3
debian/changelog vendored
View file

@ -4,6 +4,9 @@ byobu (5.127) unreleased; urgency=medium
- Googley PS1 for non-Ubuntu distros
* usr/lib/byobu/logo, usr/share/byobu/profiles/bashrc:
- use Google lego logo for gLinux
* usr/lib/byobu/logo: LP: #1769676
- don't use the Ubuntu logo in the status line, as this breaks ssh
clients coming to Ubuntu from other OSes without the Ubuntu font
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 27 May 2018 18:07:11 -0500

View file

@ -37,7 +37,10 @@ __logo() {
if $MARKUP; then
if [ "$BYOBU_BACKEND" = "tmux" ] && [ "$BYOBU_CHARMAP" = "UTF-8" ]; then
if [ ! "$VTE_CJK_WIDTH" = "1" ] && [ ! "$VTE_CJK_WIDTH" = "wide" ] ; then
color "colour202" "colour255" ; printf " u "; color -
# color "colour202" "colour255" ; printf " u "; color -
# Ubuntu's logo doesn't display anywhere, except for on Ubuntu itself, which has the Ubuntu font with the logo
# which breaks when you ssh into Ubuntu from elsewhere (Windows, Debian, Mac)
color "colour202" "colour255" ; printf " u "; color -
else
color m W; printf " u "; color -
fi