hgrep
hgrep copied to clipboard
Prettier printing?
Question for all, how would you improve the current output to make it easier to visually navigate?
I spent a few minutes messing around and came up with this boxy rendering, not sure if I like it or not:

I see three changes:
- Coloured function names: I like this! Currently it seems I only get that with
-n. - Filename aligned with code: this looks a bit neater but I don't know if it would look as nice without the box characters.
- The box characters: I think I could do without this. It seems purely decorative and I don't think it would help me visually scan the output any easier. I also wonder if this would necessitate a
-bor--no-boxesflag if it does end up inhgrep.
The coloured function names should be happening now, it's a bug! line numbers are prepended before everything is sent to hscolour.
Not sure if I like the boxy rendering either. Undecided. It probably doesn't matter, what we have is nice enough. I'll re-evaluate as we slowly start to report more information.
@thumphries I'm voting for boxy rendering. I like the new output!