mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
tui: improve agent tab separator visual with powerline symbol for better session distinction
This commit is contained in:
parent
d2cf9610e6
commit
810255a851
2 changed files with 3 additions and 14 deletions
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue