fix(input): preserve modifyOtherKeys key releases - #2303
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 (2)
📝 WalkthroughWalkthroughHost keyboard report-all detection now includes event-type reporting with ChangesKeyboard report-all handling
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Greptile SummaryThe PR expands host Kitty keyboard reporting when the focused pane combines event-type reporting with modifyOtherKeys, preserving printable key-release events in the pane’s negotiated encoding.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| src/app/input/terminal.rs | Extends host report-all detection to focused panes combining Kitty event-type reporting with active modifyOtherKeys. |
| src/app/mod.rs | Adds regression coverage for combined protocol negotiation, printable release forwarding, and modifyOtherKeys reset behavior. |
Sequence Diagram
sequenceDiagram
participant Pane as Focused pane
participant App as App input state
participant Host as Host terminal
participant PTY as Pane PTY
Pane->>App: Negotiate event types + modifyOtherKeys
App->>Host: Request Kitty report-all
Host->>App: Printable press/repeat/release
App->>PTY: Encode using pane protocol
Pane->>App: Reset modifyOtherKeys
App->>Host: Disable report-all
Reviews (2): Last reviewed commit: "Merge branch 'master' into akbash/2302-p..." | Re-trigger Greptile
|
Built this branch at Same probe, same keys, same host terminal (Ghostty 1.3.1), only the herdr binary differs:
Releases now arriving, printable keys included: The app that prompted the report — a push-to-talk dictation mode that holds a key to record and
Nothing needed on my end — just closing the loop with a measurement. |
thanks for verifying! |
Summary
modifyOtherKeys=2Checks
cargo test host_report_all_supplies_printable_releases_for_event_type_only_panes -- --nocapturecargo test host_report_all -- --nocapturecargo clippy --all-targets --locked -- -D warningscargo nextest run --locked -E 'all()' --no-fail-fast ...(3186 passed; one unrelated live-handoff helper failure because Kennel's isolatedCARGO_TARGET_DIRis outside the checkout path the helper accepts)just windows-lintrefs #2302