`lazygit` usage?
Hi, can I use dunk with lazygit? It supports having custom pagers such as delta, diff-so-fancy that accomplish a similar goal to dunk - enhance diffs.
I tried setting the pager command (refer to the instructions for custom pager I linked) to both dunk and git diff | dunk. With dunk, the output was empty (i.e. dunk was running but received no input). So I piped git diff into it, and then I did get an output but like so:
, which is visibly broken.
Is there an argument I can pass to dunk/other methods that will help solve this?
(dunk is running as expected outside of the lazygit window)
git diff | dunk | less -R perhaps?
This just leaves me with
probably because the $TERM is dumb. But, delta also uses less -R as it's pager, how does it get past that?
@darrenburns do you have any ideas on how to make this work?
I don't use lazygit... but the documentation says less doesn't work. Does this section help? https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Pagers.md#using-external-diff-commands