modus
modus copied to clipboard
Proof highlighting
Proofs produced by the modus proof
command will now contain literals that are coloured the same way that the user's terminal colours directories, so it is guaranteed to be easily visible to the user. This PR should close #185 .
Before fix:
After fix:
Thanks, @sudoPom! @thevirtuoso1973, can you please review it?
As I remember, star dependencies are not allowed if we want to publish our library on crates.io:
https://github.com/modus-continens/modus/blob/5199e3acd8409a1ba3a1b02b53787ce9e5bf5f03/modus-lib/Cargo.toml#L24
Will do!
I like the idea of using directory color.
Also generally use rustfmt
and check any notable clippy
suggestions.