From c9e417939b028e1bfb26a8cf3eec41b0aafc795e Mon Sep 17 00:00:00 2001 From: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> Date: Mon, 2 Sep 2024 04:58:47 -0400 Subject: [PATCH] Fix command output trim --- webview-ui/src/components/ChatRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview-ui/src/components/ChatRow.tsx b/webview-ui/src/components/ChatRow.tsx index 90b7d93..a197db1 100644 --- a/webview-ui/src/components/ChatRow.tsx +++ b/webview-ui/src/components/ChatRow.tsx @@ -411,7 +411,7 @@ const ChatRow: React.FC = ({ } return { command: text.slice(0, outputIndex).trim(), - output: text.slice(outputIndex + COMMAND_OUTPUT_STRING.length).trimStart(), + output: text.slice(outputIndex + COMMAND_OUTPUT_STRING.length).trim() + " ", } }