* usr/lib/byobu/.shutil: LP: #854262

- fix regressed monochrome support
This commit is contained in:
Dustin Kirkland 2011-09-19 16:44:58 -05:00
commit ddb8d2f90d
2 changed files with 8 additions and 1 deletions

4
debian/changelog vendored
View file

@ -4,6 +4,10 @@ byobu (4.34) unreleased; urgency=low
* usr/lib/byobu/.constants: LP: #846576
- silence errors
[ Dustin Kirkland ]
* usr/lib/byobu/.shutil: LP: #854262
- fix regressed monochrome support
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 08 Sep 2011 14:26:43 -0700
byobu (4.33-0ubuntu1) oneiric; urgency=low

View file

@ -41,7 +41,10 @@ color_screen() {
attr=$1 ; fg=$2 ; bg=$3
;;
esac
[ "$MONOCHROME" = "1" ] && (fg= ; bg= )
if [ "$MONOCHROME" = "1" ]; then
fg=
bg=
fi
printf "$ESC{=$attr $fg$bg}"
;;
esac