fix(tui): make busy status-bar reservation /indicator-style aware

The left-content reservation used a flat constant for the busy face,
but its width varies by /indicator style: kaomoji is a wide glyph plus
a rotating verb, while unicode is a bare 1-col braille spinner with no
verb. Reserve the real width via busyIndicatorWidth(style, hasDuration)
so the model stays on-screen across styles without over-reserving the
unbounded elapsed-time tail.
This commit is contained in:
Brooklyn Nicholson
2026-06-01 20:28:43 -05:00
parent e59b815c04
commit 1d7a1c00b4
3 changed files with 51 additions and 4 deletions
+1
View File
@@ -358,6 +358,7 @@ const StatusRulePane = memo(function StatusRulePane({
busy={ui.busy}
cols={composer.cols}
cwdLabel={status.cwdLabel}
indicatorStyle={ui.indicatorStyle}
liveSessionCount={ui.liveSessionCount}
model={ui.info?.model ?? ''}
modelFast={ui.info?.fast || ui.info?.service_tier === 'priority'}