-
Notifications
You must be signed in to change notification settings - Fork 107
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 grep color format #64
Comments
@baptistemarchand thanks for contributing. ANSI parsing apparently is very hard. I spent quite some time looking for the "right" lib without luck. As you can see the color is parsed ~correctly, it may be a problem with |
try this:
the problem appears to be grep adding a clearline escape. |
did we do it? 💃 |
Thanks for your quick answer! |
@baptistemarchand thanks for contributing. |
Hi!
I'm having fun playing with rtail but I want to use it to monitor scripts that use grep to colorize their output and it doesn't seem to work well with rtail.
To reproduce, the following command should display 'lol' in red in the terminal but not in the rtail UI.
This is the format that grep uses:
I'm not sure if this is more of an ansi_up issue, or if there are some GREP_COLORS options I could set to fix it.
Thank you for your help and for building something cool!
The text was updated successfully, but these errors were encountered: