From 9dc8ac47341032096e10761c570e498cc26d2ec1 Mon Sep 17 00:00:00 2001 From: David Hill Date: Sun, 8 Mar 2026 00:17:28 +0000 Subject: [PATCH] tui: revert prompt control docking Restore the previous prompt control layout after the dock/position changes made the composer feel less familiar. This brings auto-accept back to its prior spot and returns Add file to the previous placement. --- 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" /> - - - -