* profiles/common: add a backtick helper hack to print %-1

* profiles_generator/profile.skel: improve handline of window overflow
    on the caption line; use a ... elipsis at the beginning or end of line
    to show that there are more windows or information available than
    immediately shown, LP: #369828


Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
Dustin Kirkland 2009-07-12 13:30:30 -05:00
commit 2e826268f0
3 changed files with 9 additions and 3 deletions

7
debian/changelog vendored
View file

@ -6,9 +6,14 @@ byobu (2.20) unreleased; urgency=low
and exit non-zero if not; handles odd situation where user launches
byobu from a sudo/root shell, and root owns their ~/.byobu dir, but then
they launch as non-root sometime later, LP: #394147
* profiles/common: add a backtick helper hack to print %-1
* profiles_generator/profile.skel: improve handline of window overflow
on the caption line; use a ... elipsis at the beginning or end of line
to show that there are more windows or information available than
immediately shown, LP: #369828
* debian/source_byobu.py: add apport hooks for byobu
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 12 Jul 2009 12:36:38 -0500
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 12 Jul 2009 13:29:15 -0500
byobu (2.19-0ubuntu1) karmic; urgency=low

View file

@ -33,7 +33,8 @@ defutf8 on
# ~600 ~10 minutes
# ~180 ~3 minutes
# ~60 ~1 minute
backtick 10 86399 86399 byobu-janitor
backtick 10 86389 86389 byobu-janitor
backtick 11 86399 86399 printf "\005-1="
backtick 99 86011 86011 byobu-status logo
backtick 100 599 599 byobu-status release
backtick 101 181 181 byobu-status updates_available

View file

@ -23,7 +23,7 @@
source /usr/share/byobu/profiles/common
# Window tabs, second to last line
caption always "%{kW}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%? %= %{= Wk}%110`%109`%122`%111`%10`"
caption always "%{kW}%?%-Lw%50L>%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%?%11` %=%{= Wk}%110`%109`%122`%111`%10`%<"
# Status string, last line
hardstatus string '%99`%{= Wk} %100`%112`%= %102`%101`%127`%114`%115`%108`%128`%125`%126`%113`%119`%117`%116`%106`%104`%103`%105`%107`%123`%120`%121`'