From d04f5812d4c908aa936aea8a2b3faef4e8378e56 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Sun, 8 Jan 2012 20:13:02 -0600 Subject: [PATCH] * usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766 - use screen-bce instead of screen-256color, to support background colors correctly --- debian/changelog | 3 +++ usr/bin/byobu | 2 +- usr/share/byobu/profiles/tmux | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index cea5c838..1cedbc42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 diff --git a/usr/bin/byobu b/usr/bin/byobu index 4189a32f..2f3d9a38 100755 --- a/usr/bin/byobu +++ b/usr/bin/byobu @@ -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 diff --git a/usr/share/byobu/profiles/tmux b/usr/share/byobu/profiles/tmux index 9ea4cb00..6b20dc62 100644 --- a/usr/share/byobu/profiles/tmux +++ b/usr/share/byobu/profiles/tmux @@ -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