stderred icon indicating copy to clipboard operation
stderred copied to clipboard

Feature Suggestion: Make STDOUT color yellow if string starts with...

Open ghost opened this issue 6 years ago • 3 comments

Amazing project. Just love it.

Here a suggestion for a new feature:

Make stdout text yellow if the the string starts with a user defined set of strings, like "warn" or "err". (we don't actually need regexps to avoid teh overhead)

We could make it a bit smart to avoid the initial chars on the line that are not actual chars (including stars, spaces, tabs, etc).

I am not sure if this would work to be honest due to buffering... I would like to hear your opinion on this.

Thanks

ghost avatar Mar 18 '19 20:03 ghost

I could propose I change myself. Still interesting to hear your thoughts on this matter. Thanks

ghost avatar Mar 20 '19 17:03 ghost

I am curious in which direction this could go because now I rely complex iTerm regexes for coloring the output. If stderred could strd doing that I port them and rely less on iTerm (which is MacOS only)

ssbarnea avatar Aug 04 '19 19:08 ssbarnea