Genivia / ugrep

NEW ugrep 6.5: a more powerful, ultra fast, user-friendly, compatible grep. Includes a TUI, Google-like Boolean search with AND/OR/NOT, fuzzy search, hexdumps, searches (nested) archives (zip, 7z, tar, pax, cpio), compressed files (gz, Z, bz2, lzma, xz, lz4, zstd, brotli), pdfs, docs, and more
https://ugrep.com
BSD 3-Clause "New" or "Revised" License
2.59k stars 109 forks source link

[FR] new TUI features such as regex syntax highlighting #300

Closed genivia-inc closed 11 months ago

genivia-inc commented 11 months ago

Work in progress TUI additions for upcoming release 4.3.1:

Planned for release after Oct 18.

Example regex syntax highlighting in the TUI with the default color scheme:

image

The user-definable TUI colors are defined in the same way the GREP_COLORS and --colors=COLORS are set with the following new parameters, which are all optional (when not specified the default is used):

param result
qp= TUI prompt
qe= TUI errors
qr= TUI regex
qm= TUI regex meta characters
ql= TUI regex lists and literals
qb= TUI regex braces
genivia-inc commented 11 months ago

Released v4.3.1