mirror of
https://github.com/dustinkirkland/byobu
synced 2025-07-06 13:02:14 -07:00
* 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
This commit is contained in:
parent
e991e535e4
commit
edeae41827
2 changed files with 4 additions and 5 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -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:
|
||||
|
|
|
@ -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())])
|
||||
|
||||
else:
|
||||
os.execvp("screen", ["screen", "-AOxRR", session_name])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue