The sound distributed version control system

#679 Pijul has stoped coloring output

Closed on February 7, 2024
levi on May 6, 2022

For some time Pijul had support for coloring the output of change and diff commands. This coloring stopped working in pijul 1.0.0-beta I don’t know if by mistake or it was intentionally disabled by default.

I looked at the source of config.rs and saw that there is a field pub colors: Option<Choice> So I tired to add the following lines to my config.toml

[global]
colors = "always"

But nothing has changed.

pmeunier on February 27, 2023

Yes indeed. The code for outputting the diffs has changed completely in the beta version, it is now much more robust, but also much less colored.

Sorry about that. Anyone who wants to help color it again is welcome to help! Note that parsing with the color escape sequences must be handled as well.

hardy7cc added a change on October 28, 2023
GHEOU353PGMHVT4NFKIZ2LFIR3PFQWJDA4KJCVETLO25C7JMILSQC
main
pmeunier on February 7, 2024

Applied, thanks!

pmeunier closed this discussion on February 7, 2024