mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/bin/byobu, usr/lib/byobu/.shutil, usr/share/byobu/profiles/tmux:
- get 256 colors working in tmux
This commit is contained in:
parent
3c0aa9966e
commit
cf687ac09c
4 changed files with 12 additions and 9 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -65,6 +65,8 @@ byobu (4.30) unreleased; urgency=low
|
||||||
- fix underscore, italics, hidden
|
- fix underscore, italics, hidden
|
||||||
* usr/lib/byobu/.dirs:
|
* usr/lib/byobu/.dirs:
|
||||||
- ensure that the cache dir gets created
|
- ensure that the cache dir gets created
|
||||||
|
* usr/bin/byobu, usr/lib/byobu/.shutil, usr/share/byobu/profiles/tmux:
|
||||||
|
- get 256 colors working in tmux
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ fi
|
||||||
# Determine backend
|
# Determine backend
|
||||||
case "$0" in
|
case "$0" in
|
||||||
*byobu-screen) export BYOBU_BACKEND="screen" ;;
|
*byobu-screen) export BYOBU_BACKEND="screen" ;;
|
||||||
*byobu-tmux) export BYOBU_BACKEND="tmux" ;;
|
*byobu-tmux) export BYOBU_BACKEND="tmux" TERM="screen-256color" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Sanitize the environment
|
# Sanitize the environment
|
||||||
|
|
|
@ -52,14 +52,14 @@ color_map() {
|
||||||
c) _RET=cyan,dim ;;
|
c) _RET=cyan,dim ;;
|
||||||
w) _RET=white,dim ;;
|
w) _RET=white,dim ;;
|
||||||
d) _RET=color0,dim ;;
|
d) _RET=color0,dim ;;
|
||||||
K) _RET=black ;;
|
K) _RET="#555555" ;;
|
||||||
R) _RET=red ;;
|
R) _RET="#FF0000" ;;
|
||||||
G) _RET=green ;;
|
G) _RET="#00FF00" ;;
|
||||||
Y) _RET=yellow ;;
|
Y) _RET="#FFFF00" ;;
|
||||||
B) _RET=blue ;;
|
B) _RET="#0000FF" ;;
|
||||||
M) _RET=magenta ;;
|
M) _RET="#FF00FF" ;;
|
||||||
C) _RET=cyan ;;
|
C) _RET="#00FFFF" ;;
|
||||||
W) _RET=white ;;
|
W) _RET="#FFFFFF" ;;
|
||||||
*) _RET= ;;
|
*) _RET= ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,6 +73,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 terminal-overrides 'xterm*:smcup@:rmcup@'
|
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||||
set -g default-command /bin/bash
|
set -g default-command /bin/bash
|
||||||
set -g status-bg black
|
set -g status-bg black
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue