* usr/lib/byobu/custom:

- ensure that you can run more than one custom script, LP: #789647
This commit is contained in:
Dustin Kirkland 2011-05-28 22:19:44 -05:00
commit e04eef68f0
2 changed files with 6 additions and 2 deletions

2
debian/changelog vendored
View file

@ -5,6 +5,8 @@ byobu (4.7) unreleased; urgency=low
* etc/byobu/statusrc: * etc/byobu/statusrc:
- revert recent change which enabled disk_io by default - revert recent change which enabled disk_io by default
* close bug LP: #789408, which was fixed in the previous release * close bug LP: #789408, which was fixed in the previous release
* usr/lib/byobu/custom:
- ensure that you can run more than one custom script, LP: #789647
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 28 May 2011 12:58:05 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Sat, 28 May 2011 12:58:05 -0500

View file

@ -44,11 +44,13 @@ for i in "$DATA/bin/"[0-9]*_*; do
case "$output" in case "$output" in
*"$ESC{"*) *"$ESC{"*)
# User has formatted the colors # User has formatted the colors
printf "$output" OUTPUT="$OUTPUT$(printf "$output")"
;; ;;
*) *)
# Default to inverted coloring # Default to inverted coloring
color invert; printf "%s" "$output"; color -- OUTPUT="$OUTPUT$(color invert; printf "%s" "$output"; color --)"
;; ;;
esac esac
done done
echo "$OUTPUT" | sed ':a;N;$!ba;s/\n//g'