2
0
Эх сурвалжийг харах

tui: replace curved arrow with straight arrow for better terminal compatibility

Dax Raad 1 сар өмнө
parent
commit
c4ffd93caa

+ 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(` ${tools().length} toolcalls`)
+      if (current()) content.push(` ${Locale.titlecase(current()!.tool)} ${(current()!.state as any).title}`)
+      else content.push(` ${tools().length} toolcalls`)
     }
 
     if (props.part.state.status === "completed") {