Repository navigation
Conversation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Linux was using the macOS
termioslayout and flag constants. That misaddresses fields on 64-bit Linux and can undersize the allocation on 32-bit Linux. This change introduces separate glibc/Darwin layouts, uses libc'scfmakeraw, preserves terminal speeds and control characters, and frees temporary native buffers. Failed initial snapshots cannot become zeroed restore state, and failed mode changes now report an error.Builds on #15 by @mafreud and retains their original ioctl variadic-binding commit and authorship. The original PR remains open and its fork is unchanged.
Validation and CI:
bc9caf9aee724056bf63c18850c3d1287279a92b.contents: read; checkout does not persist credentials; nopull_request_targetor secrets are used. Coverage upload is restricted to main pushes.doc/ci-architectures.md.The old raw-mode example now uses the corrected package bindings. A separate formatting-only commit fixes five existing CI formatting failures; the sixth was in that rewritten example.