* usr/bin/byobu.in:

- ensure we start tmux with unicode support, LP: #1268072
This commit is contained in:
Dustin Kirkland 2015-08-31 08:43:07 -05:00
commit 79eb71ebe2
2 changed files with 7 additions and 5 deletions

2
debian/changelog vendored
View file

@ -3,6 +3,8 @@ byobu (5.95) unreleased; urgency=medium
[ Dustin Kirkland ] [ Dustin Kirkland ]
* usr/lib/byobu/battery: * usr/lib/byobu/battery:
- sum together all batteries - sum together all batteries
* usr/bin/byobu.in:
- ensure we start tmux with unicode support, LP: #1268072
[ Fortunato Ventre ] [ Fortunato Ventre ]
* usr/lib/byobu/include/constants: * usr/lib/byobu/include/constants:

View file

@ -178,7 +178,7 @@ if [ "$#" = "0" ]; then
# Start new custom window set session # Start new custom window set session
case $BYOBU_BACKEND in case $BYOBU_BACKEND in
tmux) tmux)
exec tmux $SCREEN_TERM $BYOBU_PROFILE $(cat "$BYOBU_WINDOWS") exec tmux -u $SCREEN_TERM $BYOBU_PROFILE $(cat "$BYOBU_WINDOWS")
;; ;;
screen) screen)
exec screen $SCREEN_TERM $BYOBU_SESSION_NAME $BYOBU_PROFILE exec screen $SCREEN_TERM $BYOBU_SESSION_NAME $BYOBU_PROFILE
@ -194,7 +194,7 @@ if [ "$#" = "0" ]; then
# Start new default session # Start new default session
case $BYOBU_BACKEND in case $BYOBU_BACKEND in
tmux) tmux)
exec tmux $SCREEN_TERM $BYOBU_PROFILE $DEFAULT_WINDOW exec tmux -u $SCREEN_TERM $BYOBU_PROFILE $DEFAULT_WINDOW
;; ;;
screen) screen)
exec screen $SCREEN_TERM $BYOBU_SESSION_NAME $BYOBU_PROFILE $DEFAULT_WINDOW exec screen $SCREEN_TERM $BYOBU_SESSION_NAME $BYOBU_PROFILE $DEFAULT_WINDOW
@ -207,10 +207,10 @@ else
# Launch with command line args # Launch with command line args
case $BYOBU_BACKEND in case $BYOBU_BACKEND in
tmux) tmux)
exec $BYOBU_BACKEND $SCREEN_TERM $BYOBU_PROFILE "$@" exec tmux -u $SCREEN_TERM $BYOBU_PROFILE "$@"
;; ;;
screen) screen)
exec $BYOBU_BACKEND $SCREEN_TERM $BYOBU_SESSION_NAME $BYOBU_PROFILE "$@" exec screen $SCREEN_TERM $BYOBU_SESSION_NAME $BYOBU_PROFILE "$@"
;; ;;
esac esac
fi fi