-
-
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
Add lineHighlight for ansi theme #1730
Comments
Thank you for reporting this! Should be easy to fix, I hope. |
Well what I realized is that no single color will work well, depending on whether a user has a light or dark background. I imagine this is part of why there were once separate ansi-dark and ansi-light themes. |
FYI @mk12: again, only if you are interested(!). |
Can you share an example of when bat would use this? I'm not sure when a line would be highlighted. |
Thanks for the example, I didn't know about that. Even if I'd suggest using bold (already supported I believe) or reverse video (would need to use another alpha channel pattern to encode it). What do you think? |
What's the support for underline like? I imagine it's less common in terminal emulator than bold. |
Yes, definitely. Let's try this out. |
Hey 👋 Another way to do it would be to use a custom theme scope, e.g.:
What do you think? Update: I implemented the custom scope solution and committed it on top of my MR. There are two commits now each with one of the approaches. Let me know what you think and I can squash to the final solution. |
The ansi theme doesn't have
lineHighlight
defined, so the highlighted line is not apparent.The text was updated successfully, but these errors were encountered: