Skip to content

fix(render-diff): made colourized output more consistent for semantic diff#20

Merged
dlactin merged 1 commit intomainfrom
extend-semantic-diff-colourized-output
Dec 4, 2025
Merged

fix(render-diff): made colourized output more consistent for semantic diff#20
dlactin merged 1 commit intomainfrom
extend-semantic-diff-colourized-output

Conversation

@dlactin
Copy link
Collaborator

@dlactin dlactin commented Dec 4, 2025

Description:
Using the semantic diff flag -s and piping the output to less -R for easier viewing results in the loss of colorized output

Added a quick output check to toggle colorized output.

We want to disable colorized output when writing to a file or when the --plain flag is used, otherwise, we want the colorized diff.

@dlactin dlactin requested a review from a team December 4, 2025 22:59
@dlactin dlactin merged commit 5bf20fe into main Dec 4, 2025
@dlactin dlactin deleted the extend-semantic-diff-colourized-output branch December 4, 2025 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants