Background color not set correctly when also using underlines #5930
-
Hello everyone, I ran into a bug with background color rendering when using kakoune inside ghostty. If you select a section that also has an underline, the selection sometimes becomes invisible. This happens with both normal and curly underlines. Not sure if this is a bug in ghostty or in kakoune, but it works correctly in kitty and gnome-console. This is how it looks in kitty (with the selection rendering correctly): This is how it looks in ghostty (selection invisible, even though the "ncl" part is selected): These are the escape sequences that kakoune uses here:
And the ghostty version:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I'm unable to reproduce this. I tried on both macOS and Linux with your |
Beta Was this translation helpful? Give feedback.
-
Edit: oh never mind, the reproduction you sent demonstrates that you're doing the former. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I narrowed it down to another example that's maybe more helpful:
When you try to set the underline type, background color, foreground color and underline color all in one sequence, ghostty draws none of them: (Using the default config this time, to make sure it's not theme related. Sorry for earlier.) Here's kitty for comparison, also default config: |
Beta Was this translation helpful? Give feedback.
Thanks, fixed in #5949