fix(terminal): restore keyboard reporting on detach - #2395
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughOn non-Windows systems, keyboard enhancement updates now replace the current keyboard stack entry with updated flags through pop and push commands. The test verifies the resulting escape sequences. ChangesKeyboard enhancement handling
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
ac3c9c6 to
083b3d5
Compare
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |
Greptile SummaryThis PR changes host Kitty keyboard report-all transitions from SET to POP+PUSH so Herdr replaces only its own stack entry and preserves the terminal's prior reporting state on detach.
Confidence Score: 5/5The PR appears safe to merge. The changed transitions replace the Herdr-owned keyboard-stack entry without changing stack depth, while existing attach and teardown paths retain balanced initial push and final pop behavior.
|
| Filename | Overview |
|---|---|
| src/terminal_modes.rs | Replaces destructive Kitty SET transitions with stack-preserving POP+PUSH transitions and updates exact-byte coverage; no actionable defect found. |
Reviews (1): Last reviewed commit: "fix(terminal): restore keyboard reportin..." | Re-trigger Greptile
Summary
Checks
cargo test terminal_modescargo test client::tests::attach_escape_detaches_on_prefix_q -- --exactcargo fmt --checkcargo clippy --all-targets --locked -- -D warningscargo nextest run --locked -E "all()" --no-fail-fast: 3233 passed, 1 harness-only failure because Kennel's isolatedCARGO_TARGET_DIRis outside the checkout andlive_server_holds_one_pty_master_fd_per_panefilters replacement PIDs by checkout-root executable path; server logs confirmed successful replacement startuprefs #2393