-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support text with embedded ANSI codes for the higlight line #2621
Comments
Good catch! I suspect what's happening here is that the "tmux" there is actually:
The reset (SGR RESET) clears all the style information, which happens to include the background set by the line highlight. It shouldn't be too hard to put the line highlighting styles back after we encounter a reset. #2544 has some changes that would greatly assist in fixing this, so I'll address this after that gets merged. |
Hey @nkh, if it's not too much trouble, would you be able to provide me with a text file and theme to reproduce this issue? I'm using your example above, and I can't seem to get it to break on the latest version of |
@eth-p I'll check with the latest version and get back to you. |
Seems to work in 0.24, thanks. |
The text was updated successfully, but these errors were encountered: