-
-
Notifications
You must be signed in to change notification settings - Fork 776
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
Apply colour to text that matched regexp #46
Comments
Thank you for the suggestion! In fact, that's something I already tried quickly but it turned out to be a bit more complicated than I thought due to the interleaving ANSI escape sequences. I was planning to use underlining in order for this to work alongside the coloring. What do you think? |
Sounds good to me! |
Also, if no one is looking into this, I wouldn't mine giving it a try. |
Sorry for the late response. I'm currently not looking into this. Any help would be greatly appreciated! |
Follow up: I haven't been able to look at it that much, I've been busy with other repos (and vacation 🌴 🌞 ). I'll keep at it here (warning: serious refactored version there, helps me understand but will likely never be merged as complex as it is). |
No worries and thank you very much for sharing this! |
First working prototype in #53 |
I'm going to close this, as there seems to be no activity. If anyone is interested in reviving this, have a look at #53 |
Currently, the colours are only based on path: directories are a different colour, executable files are a different colour, etc.
It would be nice to highlight which parts of the path matched the current regexp. This would help understand why a given file matched the regexp.
The text was updated successfully, but these errors were encountered: