Skip to content
Discussion options

You must be logged in to vote

Hi @rcdailey, the challenge is that the user interface we're interacting with is provided by the pager (less), not delta. You can see the n and N keybindings described in the less manpage linked there. They work by delta seeding less with certain regexes, that n and N then visit. But delta is an executable that transforms unified diff input into prettified diff output with ANSI escapes; it is not a TUI.

So, it's a good challenge to work out what we can do here! You can definitely seed less with different regexes. The delta CLI options already provide some control there; and new functionality can be proposed and made in the delta Rust codebase.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rcdailey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants