From bd42be52a73b919de9d9b5869eeb0e8b5c6c4e15 Mon Sep 17 00:00:00 2001 From: David Hill Date: Sun, 8 Mar 2026 01:31:09 +0000 Subject: [PATCH] Revert "tui: dock auto-accept after thinking and move Add file to bottom-left" This reverts commit 4c457ba3925b8be9da8f5d17ed0228e8d95f73c3. --- packages/app/src/components/prompt-input.tsx | 122 ++++++++----------- 1 file changed, 54 insertions(+), 68 deletions(-) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 62b16cd7fa..532edd3bcd 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1214,7 +1214,7 @@ export const PromptInput: Component = (props) => { onKeyDown={handleKeyDown} classList={{ "select-text": true, - "w-full pl-3 pr-2 pt-2 pb-[52px] text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true, + "w-full pl-3 pr-2 pt-2 pb-11 text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true, "[&_[data-type=file]]:text-syntax-property": true, "[&_[data-type=agent]]:text-syntax-type": true, "font-mono!": store.mode === "shell", @@ -1222,7 +1222,7 @@ export const PromptInput: Component = (props) => { />
{placeholder()} @@ -1250,6 +1250,30 @@ export const PromptInput: Component = (props) => { "pointer-events": buttonsSpring() > 0.5 ? "auto" : "none", }} > + + + + = (props) => {
-
0.5 ? "auto" : "none", - }} - > +
@@ -1463,51 +1494,6 @@ export const PromptInput: Component = (props) => { variant="ghost" /> - - - -