Repository navigation
docs(e2e): manual kitty verification procedure + demo inter-frame pause (K4) - #56
Conversation
…se (K4) - docs/manual-kitty-verification.md: step-by-step, by-eye verification of present()'s rendered output in a real kitty terminal, covering macOS and BSD (the platforms with no Xvfb equivalent), and cross-referencing tasks/plan.md T1/T4. - examples/src/bin/demo.rs: pause on a keypress between the two present() calls so a human can observe the first frame and the sprite's movement + background preservation separately, instead of only the final state.
Reviewer's GuideAdds a manual kitty-terminal verification guide and updates the demo to pause after its first frame, enabling visual confirmation of rendering, sprite movement, and background preservation alongside the automated E2E protocol check. Sequence diagram for the paused two-frame kitty demosequenceDiagram
participant User
participant Demo
participant KittyBackend
participant Terminal as KittyTerminal
User->>Demo: run demo
Demo->>KittyBackend: present(canvas)
KittyBackend->>Terminal: render first frame
Terminal-->>User: display full scene
Demo-->>User: eprintln First frame rendered
Demo->>User: read_line()
User-->>Demo: press Enter
Demo->>KittyBackend: present(canvas)
KittyBackend->>Terminal: render second frame
Terminal-->>User: display sprite at new position
User->>User: verify background has no trail
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 44 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
The intro presented the automated Xvfb-backed E2E test as present, but it is added by a companion PR; reword to 'planned' so the manual doc does not claim an artifact that does not exist in this PR.
Summary by Sourcery
Improve Kitty rendering verification by documenting a manual real-terminal check and making the demo pause between frames.
Enhancements:
Documentation:
Chores:
Summary by cubic
Adds a manual, by-eye verification procedure for kitty rendering and pauses the demo between frames so a human can observe the first frame and the sprite's move separately.
The planned automated Linux-only E2E test (shipped via a companion PR) only proves kitty accepts the escape sequence; it cannot verify pixels render correctly, and macOS and BSD have no Xvfb equivalent.
Changes
docs/manual-kitty-verification.mdis a step-by-step procedure for real kitty-compatible terminals, including the expected output table and platform notes (BSD ships only thekittenCLI).examples/src/bin/demo.rsnow waits for Enter between the twopresent()calls so the first frame and the background restoration around the moved sprite are each observable — a singlepresent()after an in-memory move proves neither.Written for commit 5cf2900. Summary will update on new commits.