You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace Knight Rider sweep bar with a simple on/off square toggle #196
Replace the sweeping "Knight Rider" bar shown at the bottom of the chat input while a session is active with a simple two-state blink: a single white square that toggles on and off every 0.5s, like an audio-recorder indicator.
Where
packages/tui/src/ui/spinner.ts — createFrames() / createColors(), the "blocks" style generates the 54-frame sweep-with-trail animation
packages/tui/src/component/prompt/index.tsx — spinnerDef memo builds frames/color from createFrames/createColors with style: "blocks", rendered as:
If createColors/createFrames remain used elsewhere (worth checking — deriveTrailColors, deriveInactiveColor, KnightRiderStyle may have other callers), leave ui/spinner.ts alone and just stop calling it from this one call site; otherwise it may be worth trimming the now-dead trail/fade logic out of ui/spinner.ts in a follow-up.
Activity