Repository navigation
docs(readme): Drive a real terminal program - #131
Merged
Merged
Conversation
tony
force-pushed
the
concept/interactive-readme
branch
from
December 1, 2026 03:28
fcbd826 to
9765f08
Compare
tony
added a commit
that referenced
this pull request
Dec 3, 2026
why: Record the branch's user-visible change in the unreleased notes. what: - Add the #131 entry to the Documentation section of CHANGES
tony
force-pushed
the
concept/interactive-readme
branch
from
December 3, 2026 23:58
06fc93a to
a4ee944
Compare
7 tasks done
tony
force-pushed
the
concept/interactive-readme
branch
from
December 5, 2026 14:47
a4ee944 to
fcb9e66
Compare
tony
force-pushed
the
concept/interactive-readme
branch
from
December 5, 2026 15:06
fcb9e66 to
f8e079b
Compare
tony
force-pushed
the
concept/interactive-readme
branch
from
December 5, 2026 15:27
f8e079b to
07e6006
Compare
why: New readers only saw in-memory Terminal.feed() examples in the README quickstart, without a runnable example showing open_pty() driving a real child process and asserting its committed response. what: - Add a cross-platform guarded POSIX open_pty() quickstart section under Quickstart in README.md capturing and checking a committed Snapshot. - Document the example at the top of Documentation in CHANGES with API links. Refs #116
tony
force-pushed
the
concept/interactive-readme
branch
from
December 5, 2026 17:42
07e6006 to
c88a852
Compare
tony
marked this pull request as ready for review
December 5, 2026 17:42
35 of 38 tasks
This branch was successfully deployed
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.
Add a runnable POSIX
open_pty()section under## QuickstartinREADME.mdthat launches a Python child, sends input, waits for a committedSnapshot, and asserts the child'sTaken: keyresponse line. Document the quickstart example under### DocumentationinCHANGES.Refs #116
Verification
pytest README.md tests/test_libvt.py(default andpython -O): passes.session.send_key("enter")times out with echoedkeyvisible and noTaken: keyline.ty(3.12–3.15 +win32), and Sphinxdirhtml -W --keep-going: pass.