From e5c5c1df1251e12b9a86727e79092f2979754747 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 3 Mar 2026 11:18:18 -0500 Subject: [PATCH] tui: consistent arrow symbols and indentation in tool output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed tool output formatting to use ↳ consistently for child items instead of mixed └ and spaces, making the terminal interface visual hierarchy clearer when displaying loaded files and running task progress. --- .../opencode/src/cli/cmd/tui/routes/session/index.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx index a3f14d6bf9..0ac96a36d6 100644 --- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx +++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx @@ -1879,9 +1879,7 @@ function Read(props: ToolProps) { {(filepath) => ( - - ↳ Loaded {normalizePath(filepath)} - + ↳ Loaded {normalizePath(filepath)} )} @@ -1987,19 +1985,19 @@ function Task(props: ToolProps) { 0}> {" "} · {tools().length} toolcalls - + {(item) => { const title = createMemo(() => (item().state as any).title) return ( <> - {"\n"}└ {Locale.titlecase(item().tool)} {title()} + {"\n"}↳ {Locale.titlecase(item().tool)} {title()} ) }} - {"\n "} + {"\n↳ "} {tools().length} toolcalls · {Locale.duration(duration())}