Fix gnome-terminal detection for 3.14
Bug #1382598 reported by
Daniel Hahler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Opinion
|
Undecided
|
Unassigned |
Bug Description
gnome-terminal has dropped setting $COLORTERM in 3.12.0-67-g1d5c1b6.
The $COLORTERM check in usr/bin/byobu.in might need to get adjusted - if it's required to detect gnome-terminal explicitly.
111: if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ] || [ "$COLORTERM" = "gnome-terminal" ] || [ "$TERM" = "xterm" ] || [ "$TERM" = "xterm-256color" ]; then
I am using the following currently (in another context, zsh):
[[ "$COLORTERM" == "gnome-terminal" ]] || [[ ${$(</proc/
Thanks for the info. I'm not seeing any negative effects of this change yet.