{location.path}
{location.line != null ? `:${location.line}` : ""}
{content.path}
{content.oldText != null && (
{prefixLines(content.oldText, "- ")}
)}
{prefixLines(content.newText ?? "", "+ ")}
terminal: {content.terminalId}
; default: return null; } } function prefixLines(text: string, prefix: string): string { return text .split("\n") .map((line) => prefix + line) .join("\n"); }