FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Honor reduced motion in the Textual TUI by chrisnestrud · Pull Request #687 · cecli-dev/cecli · GitHub

Repository navigation

Honor reduced motion in the Textual TUI - #687

Open
chrisnestrud wants to merge 2 commits into
cecli-dev:mainfrom
chrisnestrud:feature/cecli-tui-reduced-motion
Open

chrisnestrud wants to merge 2 commits into
cecli-dev:mainfrom
chrisnestrud:feature/cecli-tui-reduced-motion

Conversation

Copy link
Copy Markdown

Honor reduced motion in the Textual TUI

Summary

Makes the TUI respect existing motion controls instead of adding a new Cecli
option: --no-spinner now also gates the footer spinner, and Textual's native
TEXTUAL_ANIMATIONS=none disables frame animation and icon alternation while
preserving status and polling.

Changes

  • cecli/tui/__init__.py: pass show_spinner=args.spinner to the adapter.
  • cecli/tui/io.py: gate spinner start/update/stop on spinner_active.
  • cecli/tui/widgets/footer.py: skip the animation interval and render a
    static indicator when animation_level == "none".
  • cecli/tui/widgets/input_container.py: stop alternating sub-agent icons
    under reduced motion while keeping polling.
  • cecli/website/docs/config/tui.md: "Reduce Motion" section.
  • Tests for spinner suppression and reduced-motion rendering.

Testing

New TUI and spinner tests pass; no new config option or dependency.

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL