Repository navigation
cmux-tui: avoid no-op deletion redraws - #10984
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughDeletion helpers now report whether text was removed. Input handling returns ChangesDeletion outcome reporting
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change only suppresses redraw and mutation notifications when deletion keys do not remove text; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Description checkExplanation The description clearly explains what changed, why it changed, and how it was verified. It omits the template's Demo Video, Review Trigger, and Checklist sections, but the core information is complete. Full details: Cmux Swift Actor IsolationExplanation PASS: The pull request changes only Full details: Cmux Browser Automation Off-MainExplanation PASS. The complete PR diff from origin/main changes only Full details: Cmux Expensive Synchronous LoadExplanation PASS: The pull request changes only Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The PR diff contains only Full details: Cmux No Hacky SleepsExplanation PASS: The pull request changes only Full details: Cmux Algorithmic ComplexityExplanation PASS. The PR changes only Full details: Cmux Swift ConcurrencyExplanation PASS: The pull-request range changes only Full details: Cmux Swift `@Concurrent`Explanation PASS: The PR diff against Full details: Cmux Swift Package BoundariesExplanation PASS: The pull-request diff against Full details: Cmux Swiftpm LockfilesExplanation The PR diff contains only Full details: Cmux User-Facing Error PrivacyExplanation PASS. The PR changes only Full details: Cmux Full InternationalizationExplanation PASS — The PR changes only Rust Full details: Cmux Swiftui State LayoutExplanation PASS: The PR diff against origin/main changes only Full details: Cmux Architecture RethinkExplanation PASS. The PR diff changes only Full details: Cmux Swift Auxiliary Window Close ShortcutsExplanation PASS: The pull request changes only Full details: Cmux Source ArtifactsExplanation PASS: The pull request changes only Full details: Cmux No Test Or Debug Seam In Production SourceExplanation PASS: The PR diff against origin/main changes only Full details: Cmux No Ambient Global StateExplanation PASS: The pull request changes only
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
3f6673f fix(tui): bound CDP outbound commands (manaflow-ai#10983) e954360 cmux-tui: avoid no-op deletion redraws (manaflow-ai#10984)
Summary:
Why:
TextInput previously reported Changed after boundary no-ops, causing unnecessary redraws and downstream mutation handling. Deletion primitives now return whether bytes were removed.
Verification:
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes
cmux-tuiTextInputso no-op deletions no longer trigger redraws or downstream mutation handling. Previously, pressing backspace or delete at a boundary reportedInputEvent::Changed; now it reportsInputEvent::Nonewhen no text was removed.ChangedorNone.Written for commit 91b73f6. Summary will update on new commits.
Summary by CodeRabbit
Bug Fixes
Tests