Add multi-OS tests and real TTY smoke CI - #5
Closed
david-andrew wants to merge 4 commits into
Closed
Conversation
…tead of just linux). Also improved multi-line inputs to have better navigation control
- pytest suite with FakeTerminal editor/key tests - scripts/tty_smoke_test.py drives readl through a PTY - GitHub Actions matrix on ubuntu, macos, and windows Co-authored-by: David-Andrew Samson <david-andrew@users.noreply.github.com>
Co-authored-by: David-Andrew Samson <david-andrew@users.noreply.github.com>
Co-authored-by: David-Andrew Samson <david-andrew@users.noreply.github.com>
david-andrew
force-pushed
the
multi-os-revamp
branch
from
May 27, 2026 21:22
453b78a to
eb9fa37
Compare
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.
Adds automated verification for the
multi-os-revampbranch across Linux, macOS, and Windows.Testing approach
pytest): buffer/history/editor logic, POSIX and Windows key parsing (viaFakeTerminal/IS_WINDOWSpatching), and non-TTY pipe fallback.scripts/tty_smoke_test.py): spawnsreadl()in a child process and typessmoke-linethrough a real pseudo-terminal:os.openpty()pywinpty(winpty.PtyProcess)CI
GitHub Actions workflow
test-multi-os.ymlruns both jobs onubuntu-latest,macos-latest, andwindows-latest(Python 3.12).Manual check on your machine
Latest run: all matrix jobs green.