From 69cb49f7cc6557f8d9529695d7ecc75c0ac8a5aa Mon Sep 17 00:00:00 2001 From: David Hill Date: Sun, 8 Mar 2026 00:06:02 +0000 Subject: [PATCH] tui: dock auto-accept after thinking and move Add file to bottom-left MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Auto-accept now lives in the footer dock beside the thinking control so it stays easy to find without crowding the text box. The Add file button moves to the bottom-left of the editor and the input gets a bit more bottom padding so the control row doesn’t overlap what you’re typing. --- packages/app/src/components/prompt-input.tsx | 122 +++++++++++-------- 1 file changed, 68 insertions(+), 54 deletions(-) diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 532edd3bc..62b16cd7f 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-11 text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true, + "w-full pl-3 pr-2 pt-2 pb-[52px] 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,30 +1250,6 @@ export const PromptInput: Component = (props) => { "pointer-events": buttonsSpring() > 0.5 ? "auto" : "none", }} > - - - - = (props) => {
-
+
0.5 ? "auto" : "none", + }} + >
@@ -1494,6 +1463,51 @@ export const PromptInput: Component = (props) => { variant="ghost" /> + + + +