fix: exit bash mode after submitting command (#467)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-04 22:24:28 -08:00
committed by GitHub
parent 86b4e5a9a8
commit 67b71ab38f

View File

@@ -490,7 +490,7 @@ export function Input({
setTemporaryInput("");
setValue(""); // Clear immediately for responsiveness
// Stay in bash mode after submitting (don't exit)
setIsBashMode(false); // Exit bash mode after submitting
if (onBashSubmit) {
await onBashSubmit(previousValue);
}