Open plutonium-239 opened 1 month ago
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
Hi, can I use
dunk
withlazygit
? It supports having custom pagers such asdelta
,diff-so-fancy
that accomplish a similar goal todunk
- enhance diffs.I tried setting the
pager
command (refer to the instructions for custom pager I linked) to bothdunk
andgit diff | dunk
. Withdunk
, the output was empty (i.e. dunk was running but received no input). So I pipedgit 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 thelazygit
window)