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
- TERM must be 'screen', to work with: a) 256 colors, and b) vim/mutt with bce; tmux does not support bce properly
This commit is contained in:
parent
75d5e3390b
commit
3a541bf311
3 changed files with 9 additions and 3 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -7,6 +7,9 @@ byobu (5.3) unreleased; urgency=low
|
|||
[ Dustin Kirkland ]
|
||||
* usr/share/byobu/profiles/tmux:
|
||||
- add some whitespace
|
||||
* usr/bin/byobu, usr/share/byobu/profiles/tmux: LP: #908766
|
||||
- TERM must be 'screen', to work with: a) 256 colors, and
|
||||
b) vim/mutt with bce; tmux does not support bce properly
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 08 Jan 2012 20:28:08 -0600
|
||||
|
||||
|
|
|
@ -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-bce"
|
||||
SCREEN_TERM="-T screen"
|
||||
fi
|
||||
fi
|
||||
# Some users want to maintain separate configurations
|
||||
|
|
|
@ -65,10 +65,13 @@ set-window-option -g aggressive-resize on
|
|||
set-window-option -g monitor-activity on
|
||||
#set-window-option -g xterm-keys on
|
||||
|
||||
# Cannot use:
|
||||
# - screen-bce, screen-256color-bce: tmux does not support bce
|
||||
# - screen-256color: vim broken without -bce
|
||||
set -g default-terminal "screen"
|
||||
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||
# Must set default-command to $SHELL, in order to not source ~/.profile
|
||||
# BUG: Should *not* hardcode /bin/bash here
|
||||
set -g default-terminal "screen-bce"
|
||||
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||
set -g default-command $SHELL
|
||||
set -g status-bg $BYOBU_DARK
|
||||
set -g status-fg $BYOBU_LIGHT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue