mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
byobu-select-profile, byobu-config: improve color selection with more
informative color names and support screen default background/foreground colors, LP: #500669
This commit is contained in:
parent
082b3d3b6a
commit
e2fdc15953
2 changed files with 4 additions and 11 deletions
|
@ -142,14 +142,7 @@ def select_color(screen, size, layer):
|
|||
li = Listbox(height = 8, width = 60, scroll = 1, returnExit = 1)
|
||||
|
||||
for choice in commands.getoutput('byobu-select-profile -l').splitlines():
|
||||
(intensity, color) = choice.split("_")
|
||||
if choice == "light_grey":
|
||||
choice_desc = "white"
|
||||
elif intensity == "dark":
|
||||
choice_desc = color
|
||||
else:
|
||||
choice_desc = "%s (light)" % color
|
||||
li.append(choice_desc, choice)
|
||||
li.append(choice, choice)
|
||||
|
||||
bb = ButtonBar(screen, ((_("Apply"), "apply"), (_("Cancel"), "cancel", ESC)), compact = 1)
|
||||
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -3,9 +3,9 @@ byobu (2.43-0ubuntu1) lucid; urgency=low
|
|||
* byobu.1: improve putty bug documentation
|
||||
* profiles/common: monitor windows, showing "@" next to the window name,
|
||||
but don't print an "Activity" message
|
||||
* byobu-select-profile: improve color selection with more informative
|
||||
color names and support screen default background/foreground colors,
|
||||
LP: #500669
|
||||
* byobu-select-profile, byobu-config: improve color selection with more
|
||||
informative color names and support screen default background/foreground
|
||||
colors, LP: #500669
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 23 Dec 2009 14:01:55 -0600
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue