Skip to content

feat(ui): add Claude-Code-style spinner tips and elapsed timer#129

Merged
chauncygu merged 1 commit into
mainfrom
feat/qq-bridge-docs-and-hardening
Jun 1, 2026
Merged

feat(ui): add Claude-Code-style spinner tips and elapsed timer#129
chauncygu merged 1 commit into
mainfrom
feat/qq-bridge-docs-and-hardening

Conversation

@chauncygu
Copy link
Copy Markdown
Contributor

While the model is working, the spinner now shows an elapsed timer and a rotating "Tip:" line beneath it (e.g. /compact, /checkpoint, /research), each referencing a real CheetahClaws command.

  • ui/render.py: two-line spinner with in-place ANSI cursor redraw; auto falls back to the single-line timer-only spinner on non-TTY / dumb / macOS Terminal where multi-line cursor moves misbehave. Adds set_spinner_tips() and 20 curated tips.
  • cheetahclaws.py: wire spinner_tips config (default on, off for dumb / macOS Terminal), applied next to set_rich_live at REPL setup.
  • ui/init.py: export set_spinner_tips.
  • docs/guides/features.md: document the feature + /config spinner_tips toggle.

While the model is working, the spinner now shows an elapsed timer and a
rotating "Tip:" line beneath it (e.g. /compact, /checkpoint, /research),
each referencing a real CheetahClaws command.

- ui/render.py: two-line spinner with in-place ANSI cursor redraw; auto
  falls back to the single-line timer-only spinner on non-TTY / dumb /
  macOS Terminal where multi-line cursor moves misbehave. Adds
  set_spinner_tips() and 20 curated tips.
- cheetahclaws.py: wire spinner_tips config (default on, off for dumb /
  macOS Terminal), applied next to set_rich_live at REPL setup.
- ui/__init__.py: export set_spinner_tips.
- docs/guides/features.md: document the feature + /config spinner_tips toggle.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chauncygu chauncygu merged commit 23f4205 into main Jun 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant