1 parent adf6bd2 commit 80bca44Copy full SHA for 80bca44
1 file changed
ocm-cli/src/tui.tsx
@@ -8,15 +8,14 @@ const tui = async (api: TuiPluginApi): Promise<void> => {
8
const remote = readRemoteContext(process.env)
9
if (!remote) return
10
11
- const label = remote.repoName ? `${remote.managerHost} · ${remote.repoName}` : remote.managerHost
12
const indicator = (ctx: TuiSlotContext) => {
13
const theme = ctx.theme.current
14
return (
15
<box flexDirection="row" flexShrink={0} gap={1}>
16
- <text fg={theme.accent}>
17
- <b>REMOTE</b>
18
- </text>
19
- <text fg={theme.textMuted}>{label}</text>
+ <text fg={theme.accent}>{remote.managerHost}</text>
+ {remote.repoName && (
+ <text fg={theme.textMuted}> · {remote.repoName}</text>
+ )}
20
</box>
21
)
22
}
0 commit comments