github rhysd/hgrep v0.1.7

latest releases: v0.3.7, v0.3.6, v0.3.5...
2 years ago
  • Fix highlighting was broken on 256 colors terminals when using bat-printer.
  • bat-printer enables text wrapping by default as bat command does. --no-wrap can disable text wrapping.
  • bat-printer now looks at bat's cache directory when --custom-assets flag is given. This is useful if you use some custom syntax highlighting or theme. Note that this may not work fine with some versions of bat command.
  • bat-printer automatically uses 'ansi' theme for terminals which enable only 16 colors since other themes don't work.
  • Add --terminal-width option to give the width of terminal explicitly. This is useful when piping the results to other command like less.
  • Fix build failure due to lack of assets (#4).
  • Fix some newlines were missing when printing results with syntect-printer.
  • Use terminal_size crate directly instead of using console crate. It removes 3 dependencies when bat-printer feature is not enabled.
  • The document has been improved. Especially if you like a pager such as less, I recommend to check 'Set default command options' section.
  • (Dev) Several tests and benchmarks for syntect-printer were added.

Don't miss a new hgrep release

NewReleases is sending notifications on new releases.