diff --git a/debian/changelog b/debian/changelog index 334ddd65..561cde32 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ byobu (4.49) unreleased; urgency=low * usr/bin/byobu-modrian: - add a new, fun script + * usr/bin/byobu-select-session: + - fix 256-color tmux reattaches -- Dustin Kirkland Mon, 14 Nov 2011 17:43:02 -0600 diff --git a/usr/bin/byobu-select-session b/usr/bin/byobu-select-session index 1487c116..e9f3a0e8 100755 --- a/usr/bin/byobu-select-session +++ b/usr/bin/byobu-select-session @@ -57,7 +57,7 @@ def attach_session(session): print("Attaching: [%s]\n" % session) items = session.split("____", 2) if items[0] == "tmux": - os.execvp("tmux", ["", "attach", "-t", items[1]]) + os.execvp("tmux", ["", "-2", "attach", "-t", items[1]]) else: os.execvp("screen", ["", "-AOxRR", items[1]]) @@ -99,7 +99,7 @@ if len(sessions) > 1: elif len(sessions) == 1: # Attach to the only session; must use the binary, not the wrapper! if BYOBU_BACKEND == "tmux": - os.execvp("tmux", ["", "attach"]) + os.execvp("tmux", ["", "-2", "attach"]) else: os.execvp("screen", ["", "-AOxRR"])