-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
gh-148105: _pyrepl: switch console refresh to structured rendered screens #146584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 29 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
41e8b78
Add _pyrepl render primitives
pablogsal 8ed00a8
Switch _pyrepl consoles to rendered screens
pablogsal 65c8481
Extract _pyrepl content and layout helpers
pablogsal bc71f4d
Preserve style metadata in _pyrepl cells
pablogsal 654385c
Refactor _pyrepl refresh invalidation state
pablogsal fa45e48
Separate _pyrepl overlays from base rendering
pablogsal ae551ea
Tighten _pyrepl prompt caching and follow-ups
pablogsal 3883037
Update content.py
pablogsal 270df8b
Fix _pyrepl incremental refresh and render edge cases
pablogsal a1026c0
fixup! Fix _pyrepl incremental refresh and render edge cases
pablogsal 1e79b00
Merge branch 'main' into pyrepl-new
pablogsal 164c692
Apply suggestions from code review
ambv 9e3ebb3
Restore deleted Lib/test/test_pyrepl/test_render.py
ambv 999c94e
Achieve 100% statement and branch coverage in test_render
ambv 4f68c04
Add a test suite for _pyrepl.layout
ambv 42a0304
Fix lint error
johnslavik b0c8ac3
Fix lint error
johnslavik 0177c2d
Add more docstrings/comments
johnslavik 58ae9cb
Add visual docs (wip)
johnslavik 8bd3cd2
Add visual docs for `PromptContent`
johnslavik 08df3d6
Fix spacing
johnslavik df102d6
Better visualization of cells
johnslavik c13ea9b
Repair `ScreenOverlay` docstring
johnslavik e9637f4
Trim some docstrings that don't add value
johnslavik 2c750c3
Merge pull request #123 from johnslavik/pablo-pyrepl-docstrings
pablogsal 111a2f8
fixup! Merge pull request #123 from johnslavik/pablo-pyrepl-docstrings
pablogsal 2d360ab
Fix history mode exiting on Windows
johnslavik 2a4f5a1
Lint (fix trailing whitespace)
johnslavik bb602ec
Merge pull request #124 from johnslavik/pablo-pyrepl-windows
pablogsal 82a5f68
Merge branch 'main' into pyrepl-new
johnslavik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.