From 8fa04986cff0d213e1e1c00124a00dcb959a8a3f 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 69cb49f7cc6557f8d9529695d7ecc75c0ac8a5aa. --- 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 62b16cd7f..532edd3bc 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" /> - - - -