From 384d7f4014a1581589ca5cfb943b4bdb6dd383a7 Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Wed, 15 Jul 2026 17:17:39 -0400 Subject: [PATCH 1/3] fix(tui): preserve prompt footer actions --- packages/tui/src/component/prompt/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tui/src/component/prompt/index.tsx b/packages/tui/src/component/prompt/index.tsx index 6b076d394dd9..d6bd1ab6cc17 100644 --- a/packages/tui/src/component/prompt/index.tsx +++ b/packages/tui/src/component/prompt/index.tsx @@ -1601,7 +1601,7 @@ export function Prompt(props: PromptProps) { - + {(file) => ( From 3af9c6146090b17f9539db33dfc1f24a2ce876e9 Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Thu, 16 Jul 2026 14:30:47 -0400 Subject: [PATCH 2/3] fix(tui): separate prompt footer actions --- packages/tui/src/component/prompt/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tui/src/component/prompt/index.tsx b/packages/tui/src/component/prompt/index.tsx index d6bd1ab6cc17..10cd36706832 100644 --- a/packages/tui/src/component/prompt/index.tsx +++ b/packages/tui/src/component/prompt/index.tsx @@ -1555,7 +1555,7 @@ export function Prompt(props: PromptProps) { } /> - + From e4497aa439718da10e089e67f885452f2c98be1d Mon Sep 17 00:00:00 2001 From: Kit Langton Date: Thu, 16 Jul 2026 14:56:47 -0400 Subject: [PATCH 3/3] fix(tui): keep footer metadata shrinkable --- packages/tui/src/component/prompt/index.tsx | 188 +++++++++++--------- 1 file changed, 100 insertions(+), 88 deletions(-) diff --git a/packages/tui/src/component/prompt/index.tsx b/packages/tui/src/component/prompt/index.tsx index 10cd36706832..acffe2904b8a 100644 --- a/packages/tui/src/component/prompt/index.tsx +++ b/packages/tui/src/component/prompt/index.tsx @@ -1556,101 +1556,113 @@ export function Prompt(props: PromptProps) { /> - - - - - [⋯]}> - - - - 0 ? themeV2.background.action() : themeV2.text()}> - esc{" "} - 0 ? themeV2.background.action() : themeV2.text.subdued(), - }} + + + + + + [⋯]}> + + + + 0 ? themeV2.background.action() : themeV2.text()} + wrapMode="none" + truncate + flexShrink={1} > - {store.interrupt > 0 ? "again to interrupt" : "interrupt"} - - - - - - {(progress) => ( - - - {progress()} - {".".repeat(move.creatingDots())} - - - )} - - - - (new working copy) - - - - }> - {(location) => ( - - {location()} + esc{" "} + 0 ? themeV2.background.action() : themeV2.text.subdued(), + }} + > + {store.interrupt > 0 ? "again to interrupt" : "interrupt"} + + + + + {(progress) => ( + + + {progress()} + {".".repeat(move.creatingDots())} + + )} - - - - - - {(file) => ( - - {file()} - - )} - - - - - 0}> - - - {(shortcut) => {shortcut()} } - - - {(label) => {label()}} - - - · - - - {(label) => {label()}} - - 0}> - · - - 0}> - {statusItems().join(" · ")} - - - - - - {agentShortcut()} agents - - - - - {paletteShortcut()} commands - - - - esc exit shell mode - + + + + (new working copy) + + + + + }> + {(location) => ( + + {location()} + + )} + + + {(file) => ( + + {file()} + + )} + + + + + 0}> + + + {(shortcut) => {shortcut()} } + + + {(label) => {label()}} + + + · + + + {(label) => {label()}} + + 0}> + · + + 0}> + {statusItems().join(" · ")} + + + + + + {agentShortcut()} agents + + + + + {paletteShortcut()} commands + + + + + esc exit shell mode + + +