What happened?
I often ask pi "show me what a diff would look like". In response it responds with fenced diff blocks.
Up to version 0.74.0 it would get highlighted with green for lines added and red for lines removed.
Since 0.74.1 it doesn't color the lines anymore.
Note, this is specifically when the agent prints fenced diff blocks, not when it shows the edit tool action.
Steps to reproduce
Ask pi:
"show me an example diff of python code, 5 lines"
Observe the output is not colored.
Works again after adding this to buildCliHighlightTheme:
addition: (s: string) => t.fg("toolDiffAdded", s),
deletion: (s: string) => t.fg("toolDiffRemoved", s),
Expected behavior
This is what is used to look like:
This is what it currently looks like:
Version
0.76.0
What happened?
I often ask pi "show me what a diff would look like". In response it responds with fenced diff blocks.
Up to version 0.74.0 it would get highlighted with green for lines added and red for lines removed.
Since 0.74.1 it doesn't color the lines anymore.
Note, this is specifically when the agent prints fenced diff blocks, not when it shows the edit tool action.
Steps to reproduce
Ask pi:
"show me an example diff of python code, 5 lines"
Observe the output is not colored.
Works again after adding this to
buildCliHighlightTheme:Expected behavior
This is what is used to look like:
This is what it currently looks like:
Version
0.76.0