Detect OS X and show appropiate logo
Bug #1094716 reported by
SeySayux
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
Byobu's "logo" status notification does not detect OS X and instead shows a generic logo. Instead, it should display a more appropriate logo.
Detecting OS X can easily be done through uname ("uname -s" should return "Darwin").
For the logo itself I suggest the following:
logo=" \uF8FF "
$MARKUP && printf "$(color w k)%s$(color -)" "$logo" || printf "$logo"
This will display a black Apple logo on a silver background.
I've tried patching in the check for Darwin manually, to no avail.
Changed in byobu: | |
importance: | Undecided → Medium |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | New → In Progress |
Changed in byobu: | |
status: | Fix Committed → In Progress |
Changed in byobu: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Committed revision 2000.
Thanks. I tried my best to improve this. I don't have access to a Mac, so it's currently untested. Can you give the next version of Byobu a shot and let me know if this is any better?