usr/bin/byobu-select-session: enable byobu-select-session to list

custom session names, LP: #630673
This commit is contained in:
Dustin Kirkland 2010-11-03 21:02:35 -05:00
commit 68643fc730
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -28,6 +28,8 @@ byobu (3.7) unreleased; urgency=low
usr/bin/byobu-enable: usr/bin/byobu-enable:
- add a helpful update-motd message and a convenient command to enable-and- - add a helpful update-motd message and a convenient command to enable-and-
launch byobu launch byobu
* usr/bin/byobu-select-session: enable byobu-select-session to list
custom session names, LP: #630673
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 21 Oct 2010 12:09:14 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 21 Oct 2010 12:09:14 -0500

View file

@ -30,7 +30,7 @@ choice = ""
sessions = [] sessions = []
text = [] text = []
i = 0 i = 0
output = commands.getoutput('screen -ls ' + PKG) output = commands.getoutput('screen -ls ')
if output: if output:
for s in output.split("\n"): for s in output.split("\n"):
s = re.sub(r'\s+', ' ', s) s = re.sub(r'\s+', ' ', s)