Strip ansi from output

This commit is contained in:
Saoud Rizwan
2024-09-02 03:12:33 -04:00
parent eabb59842d
commit 4237d6c250
4 changed files with 151 additions and 63 deletions

View File

@@ -423,7 +423,7 @@ const ChatRow: React.FC<ChatRowProps> = ({
{title}
</div>
<Terminal
output={command + (output ? "\n" + output : "")}
rawOutput={command + (output ? "\n" + output : "")}
handleSendStdin={handleSendStdin}
shouldAllowInput={!!isCommandExecuting && output.length > 0}
/>