Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
genivia-inc opened this issue Oct 8, 2023 · 1 comment
Closed

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

genivia-inc opened this issue Oct 8, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@genivia-inc
Copy link
Member

genivia-inc commented Oct 8, 2023

Work in progress TUI additions for upcoming release 4.3.1:

  • make Tab navigation to directories and files also work when command line FILE arguments are present (✅ done)
  • make CTRL-Y file view work for standard input searched (✅ done)
  • make CTRL-Y file view work for files stored in archives by piping a decompressed file to the viewer (✅ done)
  • syntax highlight regular expression patterns in the TUI with user-definable colors (✅ done)

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 genivia-inc added the enhancement New feature or request label Oct 8, 2023
@genivia-inc genivia-inc pinned this issue Oct 8, 2023
@genivia-inc genivia-inc changed the title [FR] new TUI features [FR] new TUI features such as regex syntax highlighting Oct 9, 2023
@genivia-inc
Copy link
Member Author

Released v4.3.1

@genivia-inc genivia-inc unpinned this issue Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant