Skip to content

TUI — minor follow-ups (agent-tab gradient spinner, KeypressContext mouse cleanup) #456

Description

@mabry1985

Small TUI follow-ups deferred from the Wave-1 work, banked so they aren't lost.

1. Agent-tab thinking spinner → gradient

AgentChatView.tsx:281 still renders the plain <GeminiRespondingSpinner />. It should pass thinking to use the gradient wave (PR #449), like LoadingIndicator does. Blocked only by housekeeping: that file currently carries pre-existing prettier noise in the working tree, so staging it would sweep unrelated reformatting into the PR. Once that file's formatting is normalized on main, this is a one-line change.

2. Remove inert mouse-dispatch plumbing from KeypressContext

After the native-selection reversal (PR #440 dropped mouse capture), the mouse channel in contexts/KeypressContext.tsx (useMouse, dispatchMouse, the SGR \x1b[<...M parsing in the kitty peel loop, wheel→synthetic keys) is inert — no SGR mouse bytes arrive without capture. It was left in place because removing it risks the ~1100-line input pipeline. Optional cleanup; do it carefully with the keypress tests as a guard. (Note: S6 would rework this file anyway — could fold in there.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    tuiTerminal UI overhaul (specs/tui-overhaul.md)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions