Browse Source

fix(tui): make mcp status icon muted when no mcp servers are enabled (#6745)

Mani Sundararajan 1 month ago
parent
commit
12eea69f2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/opencode/src/cli/cmd/tui/routes/home.tsx

+ 1 - 1
packages/opencode/src/cli/cmd/tui/routes/home.tsx

@@ -120,7 +120,7 @@ export function Home() {
                   <span style={{ fg: theme.error }}>⊙ </span>
                 </Match>
                 <Match when={true}>
-                  <span style={{ fg: theme.success }}>⊙ </span>
+                  <span style={{ fg: connectedMcpCount() > 0 ? theme.success : theme.textMuted }}>⊙ </span>
                 </Match>
               </Switch>
               {connectedMcpCount()} MCP