* byobu-status: print the short description (matching the status

in the lower bar) first, then the description in parens in the
    first line of the indented/folded text


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-05-07 15:57:02 -05:00
commit 8ca3027b5d
2 changed files with 4 additions and 3 deletions

View file

@ -77,7 +77,7 @@ case "$P" in
[ "$i" = "menu" ] && continue
short=`"$DIR"/$i --short | sed 's/^\s*//' | sed 's/\s*$//' | sed 's/.{[^}]*}//g'` || true
detail=`"$DIR"/$i --detail | sed '/^$/d' | sed 's/^/\t/g'` || true
printf "%-15s (%s)\n" "$short" "$i"
printf "%s\n\t(%s)\n" "$short" "$i"
[ -n "$detail" ] && printf "%s\n" "$detail"
done
exit 0

5
debian/changelog vendored
View file

@ -2,9 +2,10 @@ byobu (2.2) jaunty; urgency=low
* bin/cpu-count: print cpu model names for --detail
* byobu-status: print the short description (matching the status
in the lower bar) first, then the description in parens
in the lower bar) first, then the description in parens in the
first line of the indented/folded text
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 May 2009 13:27:41 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 07 May 2009 15:56:34 -0500
byobu (2.1-0ubuntu1) karmic; urgency=low