Merge lp:~hyperair/byobu/fix-1173354 into lp:byobu

Proposed by Chow Loong Jin
Status: Merged
Merged at revision: 2143
Proposed branch: lp:~hyperair/byobu/fix-1173354
Merge into: lp:byobu
Diff against target: 12 lines (+1/-1)
1 file modified
usr/bin/byobu (+1/-1)
To merge this branch: bzr merge lp:~hyperair/byobu/fix-1173354
Reviewer Review Type Date Requested Status
Dustin Kirkland  Pending
Review via email: mp+173862@code.launchpad.net

Description of the change

Fix inverted logic that causes screen to be called with "-T screen" instead of "-T screen-256color" when starting byobu inside a 256color term.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'usr/bin/byobu'
2--- usr/bin/byobu 2013-07-09 14:05:21 +0000
3+++ usr/bin/byobu 2013-07-10 07:00:35 +0000
4@@ -130,7 +130,7 @@
5 # Check if our terminfo supports 256 colors
6 if $BYOBU_TEST tput >/dev/null; then
7 if [ "$(tput colors 2>/dev/null || echo 0)" = "256" ]; then
8- SCREEN_TERM="-T screen"
9+ SCREEN_TERM="-T screen-256color"
10 fi
11 fi
12 # Some users want to maintain separate configurations

Subscribers

People subscribed via source and target branches