mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* 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:
parent
3e71b612ce
commit
d04f5812d4
3 changed files with 5 additions and 2 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -31,6 +31,9 @@ byobu (5.2) unreleased; urgency=low
|
||||||
* debian/control: LP: #910187
|
* debian/control: LP: #910187
|
||||||
- depend on tmux | screen, recommend tmux and screen
|
- depend on tmux | screen, recommend tmux and screen
|
||||||
- hopefully this solves dependency resolution on hardy
|
- 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 ]
|
[ Daniel Hahler ]
|
||||||
* usr/bin/byobu-ctrl-a, usr/share/byobu/profiles/tmux: LP: #910779
|
* usr/bin/byobu-ctrl-a, usr/share/byobu/profiles/tmux: LP: #910779
|
||||||
|
|
|
@ -116,7 +116,7 @@ case $BYOBU_BACKEND in
|
||||||
# Check if our terminfo supports 256 colors
|
# Check if our terminfo supports 256 colors
|
||||||
if command -v tput >/dev/null; then
|
if command -v tput >/dev/null; then
|
||||||
if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then
|
if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then
|
||||||
SCREEN_TERM="-T screen-256color"
|
SCREEN_TERM="-T screen-bce"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Some users want to maintain separate configurations
|
# Some users want to maintain separate configurations
|
||||||
|
|
|
@ -67,7 +67,7 @@ set-window-option -g monitor-activity on
|
||||||
|
|
||||||
# Must set default-command to $SHELL, in order to not source ~/.profile
|
# Must set default-command to $SHELL, in order to not source ~/.profile
|
||||||
# BUG: Should *not* hardcode /bin/bash here
|
# 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 terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||||
set -g default-command $SHELL
|
set -g default-command $SHELL
|
||||||
set -g status-bg $BYOBU_DARK
|
set -g status-bg $BYOBU_DARK
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue