This repository was archived by the owner on Apr 7, 2026. It is now read-only.
fix: guard mouse capture bytes assertion for Windows#38
Closed
fix: guard mouse capture bytes assertion for Windows#38
Conversation
crossterm's EnableMouseCapture uses Windows Console API (SetConsoleMode) instead of writing ANSI escape sequences on Windows. The bytes-written assertion is only valid on Unix targets. Also applies cargo fmt to pre-existing formatting issues in build.rs and contract_traits.rs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Thank you for your interest in this project, @noahgift. This repository only accepts pull requests from organization members and authorized contributors. Your PR has been closed automatically. If you believe you should have access, please open an issue to discuss your contribution first. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
test_testable_backend_enable_mouse_capturewith#[cfg(not(target_os = "windows"))]Vec<u8>writeris_mouse_captured()assertion already verifies correctness on all platformscargo fmtto pre-existing formatting issues inbuild.rsandcontract_traits.rsCloses #37
Five-Whys
Test plan
🤖 Generated with Claude Code