From 34968f0b9fd442af6536897432c9a9ddc55d5a6a Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Sun, 3 May 2026 15:18:54 -0400 Subject: [PATCH] fix(tui): align v2 inline tool content --- .../tui/feature-plugins/system/session-v2.tsx | 32 +++++++++++-------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx b/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx index af0297ec1..73e9b9d43 100644 --- a/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx +++ b/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx @@ -559,20 +559,26 @@ function InlineTool(props: { if (previous.height > 1 || previous.id.startsWith("text-")) setMargin(1) }} > - - - {props.children} - - - - ~ {props.pending}} when={props.complete}> - {props.icon} {props.children} - - - - + + + {props.complete ? props.icon : "~"}} + > + + + + + + {props.children} + + + - {error()} + + + {error()} + )