* usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766

- use screen-bce instead of screen-256color, to support background
    colors correctly
This commit is contained in:
Dustin Kirkland 2012-01-08 20:13:02 -06:00
commit d04f5812d4
3 changed files with 5 additions and 2 deletions

3
debian/changelog vendored
View file

@ -31,6 +31,9 @@ byobu (5.2) unreleased; urgency=low
* debian/control: LP: #910187
- depend on tmux | screen, recommend tmux and screen
- hopefully this solves dependency resolution on hardy
* usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766
- use screen-bce instead of screen-256color, to support background
colors correctly
[ Daniel Hahler ]
* usr/bin/byobu-ctrl-a, usr/share/byobu/profiles/tmux: LP: #910779

View file

@ -116,7 +116,7 @@ case $BYOBU_BACKEND in
# Check if our terminfo supports 256 colors
if command -v tput >/dev/null; then
if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then
SCREEN_TERM="-T screen-256color"
SCREEN_TERM="-T screen-bce"
fi
fi
# Some users want to maintain separate configurations

View file

@ -67,7 +67,7 @@ set-window-option -g monitor-activity on
# Must set default-command to $SHELL, in order to not source ~/.profile
# BUG: Should *not* hardcode /bin/bash here
set -g default-terminal "screen-256color"
set -g default-terminal "screen-bce"
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
set -g default-command $SHELL
set -g status-bg $BYOBU_DARK