Fix command output trim
This commit is contained in:
1 parent
5609395780
commit
c9e417939b
1 file changed
+1
-1
@@ -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() + " ",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user