feat(coding-agent): added OMP_NO_PATCH env var and simplified diff formatting

- Added OMP_NO_PATCH environment variable to control patch mode behavior.
- Simplified function call formatting in diff rendering.
This commit is contained in:
can1357
2026-01-19 16:16:54 +01:00
parent 2b103bf9ad
commit df2745e6f5
2 changed files with 3 additions and 4 deletions
@@ -133,9 +133,7 @@ export function renderDiff(diffText: string, _options: RenderDiffOptions = {}):
} else {
// Show all removed lines first, then all added lines
for (const removed of removedLines) {
result.push(
theme.fg("toolDiffRemoved", formatLine("-", removed.lineNum, replaceTabs(removed.content))),
);
result.push(theme.fg("toolDiffRemoved", formatLine("-", removed.lineNum, replaceTabs(removed.content))));
}
for (const added of addedLines) {
result.push(theme.fg("toolDiffAdded", formatLine("+", added.lineNum, replaceTabs(added.content))));