From dc83617b4d2da06b830e848476a1c5d9179a361a Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Thu, 27 Feb 2025 09:51:05 -0500 Subject: [PATCH] Revert "Stop removing commas from terminal output" --- .changeset/sour-parents-hug.md | 5 ----- src/integrations/terminal/TerminalProcess.ts | 3 +++ 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 .changeset/sour-parents-hug.md diff --git a/.changeset/sour-parents-hug.md b/.changeset/sour-parents-hug.md deleted file mode 100644 index a24286b6bb..0000000000 --- a/.changeset/sour-parents-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"roo-cline": patch ---- - -Stop removing commas from terminal output diff --git a/src/integrations/terminal/TerminalProcess.ts b/src/integrations/terminal/TerminalProcess.ts index 4e85c10575..5597350db3 100644 --- a/src/integrations/terminal/TerminalProcess.ts +++ b/src/integrations/terminal/TerminalProcess.ts @@ -110,6 +110,9 @@ export class TerminalProcess extends EventEmitter { data = lines.join("\n") } + // FIXME: right now it seems that data chunks returned to us from the shell integration stream contains random commas, which from what I can tell is not the expected behavior. There has to be a better solution here than just removing all commas. + data = data.replace(/,/g, "") + // 2. Set isHot depending on the command // Set to hot to stall API requests until terminal is cool again this.isHot = true