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

fix(plugins): properly pad UI elements when they have a background #3806

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Nov 24, 2024

This fixes UI elements to always color text background until the element width if the there is a width and the element has a background.

For example, when doing print_text_with_coordinates(text_element.selected(), 0, 0, Some(10), None), the selection would be colored until the width of 10 characters even if text_element is only 8 characters long.

@imsnif imsnif merged commit 971fd4a into main Nov 24, 2024
6 checks passed
imsnif added a commit to AutumnMeowMeow/zellij that referenced this pull request Dec 31, 2024
…ellij-org#3806)

* fix(plugins): mark selected background up until component width

* style(fmt): rustfmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant