From 67b71ab38fa5e03d8abc4f4951ac27f1e0935f49 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Sun, 4 Jan 2026 22:24:28 -0800 Subject: [PATCH] fix: exit bash mode after submitting command (#467) Co-authored-by: Letta --- src/cli/components/InputRich.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/components/InputRich.tsx b/src/cli/components/InputRich.tsx index e2447fa..bcd1e29 100644 --- a/src/cli/components/InputRich.tsx +++ b/src/cli/components/InputRich.tsx @@ -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); }