fix(tui): space background shell status

This commit is contained in:
Kit Langton 2026-07-14 17:51:46 +00:00 committed by 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴
commit 746f941b40

View file

@ -2350,14 +2350,16 @@ function Shell(props: ToolProps) {
) )
} }
> >
<box flexDirection="row" gap={1} minWidth={0} paddingRight={1}> <box flexDirection="row" minWidth={0} paddingRight={1}>
<Show when={isRunning()}> <Show when={isRunning()}>
<Spinner color={color()} /> <Spinner color={color()} />
<text> </text>
</Show> </Show>
<text flexShrink={1} wrapMode="none" truncate fg={theme.text}> <text flexShrink={1} wrapMode="none" truncate fg={theme.text}>
{input()} {input()}
</text> </text>
<Show when={shellID()}> <Show when={shellID()}>
<text> </text>
<StatusBadge>Background</StatusBadge> <StatusBadge>Background</StatusBadge>
</Show> </Show>
</box> </box>