tui: improve agent tab separator visual with powerline symbol for better session distinction
Some checks are pending
format / format (push) Waiting to run
snapshot / publish (push) Waiting to run
test / test (push) Waiting to run

This commit is contained in:
Dax Raad 2025-10-08 20:06:05 -04:00
parent d2cf9610e6
commit 810255a851
2 changed files with 3 additions and 14 deletions

View file

@ -1,14 +1,4 @@
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-openai-codex-auth"],
"mcp": {
"weather": {
"type": "local",
"command": ["bun", "x", "@h1deya/mcp-server-weather"]
},
"puppeteer": {
"type": "local",
"command": ["buns", "x", "puppeteer-mcp-server"]
}
}
"plugin": ["opencode-openai-codex-auth"]
}

View file

@ -223,10 +223,9 @@ function App(props: { onExit: () => void }) {
<text fg={Theme.textMuted} paddingRight={1}>
tab
</text>
<text fg={local.agent.color(local.agent.current().name)}></text>
<text fg={local.agent.color(local.agent.current().name)}>{""}</text>
<text bg={local.agent.color(local.agent.current().name)} fg={Theme.background} wrap={false}>
{" "}
<span style={{ bold: true }}>{local.agent.current().name.toUpperCase()}</span>
<span style={{ bold: true }}> {local.agent.current().name.toUpperCase()}</span>
<span> AGENT </span>
</text>
</box>