Browse Source

tui: use arrow indicator to clearly show active tool execution in session view

Dax Raad 1 month ago
parent
commit
07025ef5b9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

+ 2 - 2
packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

@@ -1979,8 +1979,8 @@ function Task(props: ToolProps<typeof TaskTool>) {
 
     if (isRunning() && tools().length > 0) {
       // content[0] += ` · ${tools().length} toolcalls`
-      if (current()) content.push(` ${Locale.titlecase(current()!.tool)} ${(current()!.state as any).title}`)
-      else content.push(` Running...`)
+      if (current()) content.push(` ${Locale.titlecase(current()!.tool)} ${(current()!.state as any).title}`)
+      else content.push(` Running...`)
     }
 
     if (props.part.state.status === "completed") {