Feature request: support custom branch drawing symbols
I believe it was @rbong who authored custom branch drawing symbols. They look like this:
They are now implemented in the following terminal emulators:
- Ghostty https://github.com/ghostty-org/ghostty/pull/2613
- Kitty https://github.com/kovidgoyal/kitty/pull/7681
- WezTerm https://github.com/wezterm/wezterm/issues/6328
Would it be possible to use them in forgit when available or via an option?
Thanks for your idea. Unfortunately, I don't see a way to implement this in forgit. The component responsible for drawing the log graphs is actually just plain git. So unless git supports using custom graph symbols, we can't support it in forgit either.
Curious whether the other maintainers have an idea, so I will keep this open for now.
Same here, unfortunately. I don't see a way to implement this in forgit as we entirely depend on gits output.
I think this can be achieved with substitution. I was prototyping a bit on WezTerm under Windows. The ls and llare mygit logaliases and-replaceis one of the PowerShell alternatives forsed`.
This means performance impact and some ANSI escape code weirdness for the colors but is doable.
A possible solution could be to write a separate application that modifies the output from git log and can be used
in a pipe, the same we we already do with emojify. I think developing a separate application would make sense here
because it could also be used with plain git or in other projects. I would be open to integrate with such an application.