Browse Source

Fix command output trim

Saoud Rizwan 1 year ago
parent
commit
c9e417939b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webview-ui/src/components/ChatRow.tsx

+ 1 - 1
webview-ui/src/components/ChatRow.tsx

@@ -411,7 +411,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
 							}
 							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() + " ",
 							}
 						}