-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Is your feature request related to a problem? Please describe.
Yes. If you first write this to the renderer:
hello there1
hello there2
hello there3
followed by this:
\x1b[48;2;0;0;255;mhello there1
hello there2
hello there3\x1b[49m
Then hello there2 does not get any background in either iTerm2 nor Ghostty.
This is because the line is skipped for rendering here:
bubbletea/standard_renderer.go
Line 217 in e5fb1b8
| if _, ignore := r.ignoreLines[i]; ignore || canSkip { |
Describe the solution you'd like
I suggest an option flag to simply disable the canSkip.
Describe alternatives you've considered
I have considered adding the background color to each line, but that would be really combersome for my usecase, since it is a complex scenario where the background colors are not known when i pass the final string in my main View() function.
If you agree to the suggestion, i can make a PR with the feature