mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/lib/byobu/ip_address, usr/lib/byobu/.shutil,
usr/share/byobu/profiles/common: - fix bold printing
This commit is contained in:
parent
a3cc7d6cf2
commit
58fd9a1660
4 changed files with 10 additions and 5 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -76,6 +76,9 @@ byobu (4.30) unreleased; urgency=low
|
||||||
- add session selection support for tmux
|
- add session selection support for tmux
|
||||||
* usr/bin/byobu, usr/bin/byobu-janitor, usr/lib/byobu/.shutil:
|
* usr/bin/byobu, usr/bin/byobu-janitor, usr/lib/byobu/.shutil:
|
||||||
- flatten bold/dim/bright modifiers when in 8-color mode
|
- flatten bold/dim/bright modifiers when in 8-color mode
|
||||||
|
* usr/lib/byobu/ip_address, usr/lib/byobu/.shutil,
|
||||||
|
usr/share/byobu/profiles/common:
|
||||||
|
- fix bold printing
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,8 @@ color_screen() {
|
||||||
-) printf "$ESC{-}" ;;
|
-) printf "$ESC{-}" ;;
|
||||||
--) printf "$ESC{-} " ;;
|
--) printf "$ESC{-} " ;;
|
||||||
esc) printf "$ESC" ;;
|
esc) printf "$ESC" ;;
|
||||||
bold1) [ -n "$SCREEN_TERM" ] && printf "$ESC{=b }" ;;
|
bold1) [ -n "$SCREEN_TERM" ] && printf "$ESC{=b }" || printf "$ESC{= }" ;;
|
||||||
bold2) [ -n "$SCREEN_TERM" ] && printf "$ESC{+b }" ;;
|
bold2) [ -n "$SCREEN_TERM" ] && printf "$ESC{+b }" || printf "$ESC{= }" ;;
|
||||||
none) printf "$ESC{= }" ;;
|
none) printf "$ESC{= }" ;;
|
||||||
invert) printf "$ESC{=r }" ;;
|
invert) printf "$ESC{=r }" ;;
|
||||||
*)
|
*)
|
||||||
|
@ -49,7 +49,7 @@ color_screen() {
|
||||||
}
|
}
|
||||||
|
|
||||||
color_map() {
|
color_map() {
|
||||||
local mod
|
local mod=
|
||||||
[ -n "$SCREEN_TERM" ] && mod=",dim"
|
[ -n "$SCREEN_TERM" ] && mod=",dim"
|
||||||
case "$1" in
|
case "$1" in
|
||||||
k) _RET="black$mod" ;;
|
k) _RET="black$mod" ;;
|
||||||
|
|
|
@ -55,7 +55,9 @@ __ip_address() {
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
color bold2; printf "%s" "$ipaddr"; color --
|
if [ -n "$ipaddr" ]; then
|
||||||
|
color bold2; printf "%s" "$ipaddr"; color --
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# vi: syntax=sh ts=4 noexpandtab
|
# vi: syntax=sh ts=4 noexpandtab
|
||||||
|
|
|
@ -79,7 +79,7 @@ setenv SSH_AUTH_SOCK $BYOBU_CONFIG_DIR/.ssh-agent
|
||||||
caption always "%1001`%?%-Lw%50L>%?%{=r}%n*%f %t%?(%u)%?%{-}%12`%?%+Lw%?%11` %=%12`%1002`%10`%<"
|
caption always "%1001`%?%-Lw%50L>%?%{=r}%n*%f %t%?(%u)%?%{-}%12`%?%+Lw%?%11` %=%12`%1002`%10`%<"
|
||||||
|
|
||||||
# Status string, last line
|
# Status string, last line
|
||||||
hardstatus string '%1003`%=%1004`'
|
hardstatus string '%12`%1003`%=%1004`'
|
||||||
|
|
||||||
# NOTE: Older version of Screen have an arbitrary limit of only being able
|
# NOTE: Older version of Screen have an arbitrary limit of only being able
|
||||||
# to change colors 16 times in this 'hardstatus string'.
|
# to change colors 16 times in this 'hardstatus string'.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue