mirror of
https://github.com/dustinkirkland/byobu
synced 2025-07-05 20:42:10 -07:00
* usr/lib/byobu/include/select-session.py:
- fix inverted logic on session reuse
This commit is contained in:
parent
1c0af1ca17
commit
fcefb33fc0
2 changed files with 5 additions and 3 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -13,8 +13,10 @@ byobu (5.134) unreleased; urgency=medium
|
|||
- bumped date
|
||||
* usr/bin/byobu-select-profile.in: LP: #1828296
|
||||
- add missing listprofiles logic
|
||||
* usr/lib/byobu/include/select-session.py:
|
||||
- fix inverted logic on session reuse
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 22 Nov 2023 23:16:45 -0600
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 22 Nov 2023 23:25:56 -0600
|
||||
|
||||
byobu (5.133-0ubuntu1) focal; urgency=medium
|
||||
|
||||
|
|
|
@ -133,9 +133,9 @@ def attach_session(session):
|
|||
# must use the binary, not the wrapper!
|
||||
if backend == "tmux":
|
||||
if reuse_sessions:
|
||||
os.execvp("tmux", ["tmux", "-u", "new-session", "-t", session_name, ";", "set-option", "destroy-unattached"])
|
||||
else:
|
||||
os.execvp("tmux", ["tmux", "-u", "attach", "-t", session_name])
|
||||
else:
|
||||
os.execvp("tmux", ["tmux", "-u", "new-session", "-t", session_name, ";", "set-option", "destroy-unattached"])
|
||||
else:
|
||||
os.execvp("screen", ["screen", "-AOxRR", session_name])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue