mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
Fix inverted logic when enabling 256 colors on screen
This commit is contained in:
parent
56b86eaf36
commit
faef1ec55e
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ case $BYOBU_BACKEND in
|
||||||
# Check if our terminfo supports 256 colors
|
# Check if our terminfo supports 256 colors
|
||||||
if $BYOBU_TEST tput >/dev/null; then
|
if $BYOBU_TEST 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"
|
SCREEN_TERM="-T screen-256color"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Some users want to maintain separate configurations
|
# Some users want to maintain separate configurations
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue