Hide caret when the command is not executing

This commit is contained in:
Saoud Rizwan
2024-09-02 00:38:26 -04:00
parent 3a37421ffd
commit 492ffeb5b1
3 changed files with 25 additions and 8 deletions

View File

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