-
Notifications
You must be signed in to change notification settings - Fork 937
[Bugfix] Fix icons cut off in RPROMPT segments #966
Conversation
Thanks for yet another fix! This is important to me, as adding a space after the icon as suggested by the readme does no longer seem to be a workaround in konsole. It seems like the space now has the same background color as the segment, and still overdraws the right part of the glyph. Am I understanding correctly that this PR is scheduled to land in 0.7.0? |
@ytang - Thanks so much for this PR! Sorry it's taken us a few weeks to circle around to it. There are now conflicts with the merge due to the change in the color naming that was merged in a different PR. They look pretty straight-forward to resolve, though. @dritter - I see you tagged this one for v0.7.0, and we for sure need to port it over to the new codebase. I think this one is probably also worth merging into |
I agree, this is also worth merging into |
FYI, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thx @ytang .
It is safe to remove the end-foreground-color code (%f
), because every segment prints is own start-foreground-color code.
Thx @ytang . |
This PR is a follow-up to #854, thanks to the comment by @IevgenSobko. Specifically, visual identifiers in RPROMPT were still cut off because of the color reset. The fix is even simpler than the previous PR: just remove the
%f
after the visual identifier.Here is a screenshot showing the cut-off before (the first line) and after (the second line) applying the patch: