mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* usr/bin/byobu: LP: #1173354
- if tput colors is 256, use screen-256color in byobu-screen
This commit is contained in:
commit
5af60f7038
2 changed files with 4 additions and 2 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (5.46) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
[ Chow Loong Jin ]
|
||||
* usr/bin/byobu: LP: #1173354
|
||||
- if tput colors is 256, use screen-256color in byobu-screen
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 15 Jul 2013 15:52:56 -0500
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@ case $BYOBU_BACKEND in
|
|||
# Check if our terminfo supports 256 colors
|
||||
if $BYOBU_TEST tput >/dev/null; then
|
||||
if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then
|
||||
SCREEN_TERM="-T screen"
|
||||
SCREEN_TERM="-T screen-256color"
|
||||
fi
|
||||
fi
|
||||
# Some users want to maintain separate configurations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue