diff --git a/debian/changelog b/debian/changelog index 7b96ffe3..b5ab1b12 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,9 @@ byobu (5.128) unreleased; urgency=medium * usr/lib/byobu/disk_io: - ensure some values are set to zero, if unreadable - fixes a bug where disk_io causes the rest of the status line to fail + * usr/lib/byobu/include/select-session.py: LP: #1750430 + - fix bug creating a mess of sessions, where cycling through a bunch + of copies of the same session [ Fede Luzzi ] * usr/lib/byobu/include/mondrian, usr/share/byobu/profiles/tmux: diff --git a/usr/lib/byobu/include/select-session.py b/usr/lib/byobu/include/select-session.py index dbd6b6b2..529f6df1 100755 --- a/usr/lib/byobu/include/select-session.py +++ b/usr/lib/byobu/include/select-session.py @@ -132,11 +132,7 @@ def attach_session(session): cull_zombies(session_name) # must use the binary, not the wrapper! if backend == "tmux": - if reuse_sessions: - os.execvp("tmux", ["tmux", "attach", "-t", session_name]) - else: - os.execvp("tmux", ["tmux", "-2", "new-session", "-t", session_name, "-s", "_%s-%i" % (session_name, os.getpid())]) - + os.execvp("tmux", ["tmux", "attach", "-t", session_name]) else: os.execvp("screen", ["screen", "-AOxRR", session_name])