Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background on last separator wrong? #95

Closed
theVDude opened this issue Dec 5, 2012 · 3 comments
Closed

Background on last separator wrong? #95

theVDude opened this issue Dec 5, 2012 · 3 comments

Comments

@theVDude
Copy link

theVDude commented Dec 5, 2012

http://ompldr.org/vZ2t3ZA

I just got this set up and it looks like the background on the very last separator is wrong, which messes up something fierce with transparency enabled.

I don't always use transparency, but even when it's not enabled the background would be grey instead of black. I looked at it real quick but didn't really have enough time to work with anything. Anybody else with the same issue or know how I can fix it? Thanks!

@theVDude
Copy link
Author

theVDude commented Dec 5, 2012

Fixed it on the right side, setting "local prev_bg="default" as the first line in print_status_line_right(). Trying to figure out what change needs made for the left side.

@erikw
Copy link
Owner

erikw commented Dec 7, 2012

Hm yes the edge cases might not be handles optimally, but hold on, soon the whole rendering lib will be replaced 81.

@theVDude
Copy link
Author

theVDude commented Dec 7, 2012

It's a tmux bug, actually. It doesn't erase background from colour{0..255} properly. A workaround is to do something like #[bg=red]#[bg=default]. I just added a "__ui_left_last" and did that in it, worked a treat.

@theVDude theVDude closed this as completed Dec 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants