$ git clone https://github.com/vorburger/vorburger-dotfiles-bin-etc.git
$ git checkout 975d4c977d41d8dd096067fa6d0588edee2c9fc7
$ ./fonts-install.sh
$ git --no-pager log | head -12

Note the funky "font symbol" I've used in those 2 commit messages (the fancy 'A' - see it?), this is from https://github.com/ryanoasis/nerd-fonts/, which my ./fonts-install.sh that's invoked above installed (if you then also appropriately configure to use that [patched!] Fira Code Nerd Font in your Terminal).
Now check out what delta seems to do:
$ git --no-pager log | delta
commit 975d4c977d41d8dd096067fa6d0588edee2c9fc7 (HEAD -> main, origin/main, origin/HEAD)
Author: Michael Vorburger <SPAM@vorburger.ch>
Date: 9 minutes ago
Fonts: Install <U+F031> Fonts in *-gui.sh instead of *install.sh
commit 7f9b65a35974881c0712f1fab386bb8edf9a6f8d
Author: Michael Vorburger <SPAM@vorburger.ch>
Date: 32 minutes ago
Fonts: Fira Code != Fira Code NERD <U+F031>
So that "fancy" 'A' got replaced by <U+F031>- even though my (appropriately configured) Terminal could display it.
Is there a way to configure delta to pass it through? For reference, check out this out for good ol' less:
$ git --no-pager log | less
commit 975d4c977d41d8dd096067fa6d0588edee2c9fc7 (HEAD -> main, origin/main, origin/HEAD)
Author: Michael Vorburger <SPAM@vorburger.ch>
Date: 11 minutes ago
Fonts: Install <U+F031> Fonts in *-gui.sh instead of *install.sh
commit 7f9b65a35974881c0712f1fab386bb8edf9a6f8d
Author: Michael Vorburger <SPAM@vorburger.ch>
Date: 34 minutes ago
Fonts: Fira Code != Fira Code NERD <U+F031>
so same, it also does this (unwanted) "escaping", but less --raw-control-chars does the trick:
$ git --no-pager log | less --raw-control-chars

Of course, one would want to have the cake and eat it too, and still have fancy "ANSI coloring" as well... 😄
$ git clone https://github.com/vorburger/vorburger-dotfiles-bin-etc.git $ git checkout 975d4c977d41d8dd096067fa6d0588edee2c9fc7 $ ./fonts-install.sh $ git --no-pager log | head -12Note the funky "font symbol" I've used in those 2 commit messages (the fancy 'A' - see it?), this is from https://github.com/ryanoasis/nerd-fonts/, which my
./fonts-install.shthat's invoked above installed (if you then also appropriately configure to use that [patched!] Fira Code Nerd Font in your Terminal).Now check out what
deltaseems to do:So that "fancy" 'A' got replaced by
<U+F031>- even though my (appropriately configured) Terminal could display it.Is there a way to configure
deltato pass it through? For reference, check out this out for good ol'less:so same, it also does this (unwanted) "escaping", but
less --raw-control-charsdoes the trick:$ git --no-pager log | less --raw-control-charsOf course, one would want to have the cake and eat it too, and still have fancy "ANSI coloring" as well... 😄