[idea] support for ANSI "color" escape sequences
rsynnest opened this issue · comments
Great tool! I have a non-critical feature request: It would be nice if up
supported color codes such as those output by grep --color=always
.
Thanks!
Ah, you mean if grep --color=always
is entered as a command in up? It never occurred to me, but that's a good idea indeed! Though I'm not quite sure how it could be handled in tcell...
edit: Related:
Yes this would be very cool. E.g. if you do cat file | up
then | ack bob
it would highlight all matches. Or keep colors of jq
or color coded syntax highlighting when searching.
Anyways it's still an amazing tool!!
@lordlycastle https://github.com/paoloantinori/hhighlighter highlights multiple strings, invaluable sometimes.