-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Add support for "reflow"ing the Terminal buffer #4741
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 all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
b5c8c85
let's first move reflowing to the text buffer
zadjii-msft 9aec694
add a doc comment because I'm not a barbarian
zadjii-msft 1a2654d
Try to wrap the line properly with conpty
zadjii-msft aae6ce6
This works, fixing the ECH at end of wrapped line bug
zadjii-msft 416be46
This is some cleanup, almost ready for PR but I need to write tests w…
zadjii-msft 7f341a2
Merge branch 'master' into dev/migrie/f/conpty-wrapping-003
zadjii-msft edeb346
I think this is all I need to support wrapped lines in the Terminal
zadjii-msft ce3138c
Let's pull all the test fixes into their own file
zadjii-msft 4a7f2e4
Merge branch 'dev/migrie/b/just-conpty-test-fixes' into dev/migrie/f/…
zadjii-msft bfde821
A simple test for wrapped lines
zadjii-msft e000388
add a roundtrip test
zadjii-msft c040a82
I've found a bug with the line wrapping, going to go update the Paint…
zadjii-msft 0755fd7
This is polished for PR, ready to go in after #4382
zadjii-msft 86623f5
Add PaintCursor tracing
zadjii-msft 7fd5d51
This actually fixes this bug - different terminals EOL wrap different…
zadjii-msft 9b6554b
Add some comments for PR
zadjii-msft 0a98cce
Try adding a test, but I can't get the test to repro the original beh…
zadjii-msft 40b4966
Revert "Try adding a test, but I can't get the test to repro the orig…
zadjii-msft e0d251c
Merge remote-tracking branch 'origin/master' into dev/migrie/b/1245-I…
zadjii-msft b3de042
remove some old TODO comments
zadjii-msft 96642de
remove other dead code for PR
zadjii-msft 5a72af9
Merge branch 'dev/migrie/f/conpty-wrapping-003' into dev/migrie/f/ref…
zadjii-msft 1788cb1
Merge branch 'dev/migrie/b/1245-I-actually-did-it-this-time' into dev…
zadjii-msft 74a5283
ResizeWithReflow the Terminal buffer
zadjii-msft 9580715
wait why does this work so well
zadjii-msft edea9a3
Cleanup for review - this is a _great_ fix for #3490 as well as #1465
zadjii-msft 097b62c
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft 2e815c8
fix tests
zadjii-msft de9911d
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft e653713
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft 1d87f66
Merge branch 'master' into dev/migrie/f/reflow-buffer-on-resize
zadjii-msft 0c91a9b
@ our static analysis build: you're wrong here, but fine
zadjii-msft 0f283b4
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft 2ef2d88
add safemath for carlos
zadjii-msft cc7b2d3
okay I'll actually build the SA locally
zadjii-msft a8913ce
Squash merge of dev/migrie/f/resize-quirk
zadjii-msft e0626c8
audit mode is hard sometimes
zadjii-msft 4c368c3
delete some old dead code
zadjii-msft 4e3d008
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft 6070095
Fix wrapping lines far too frequently
zadjii-msft 7cca547
Some minor comments from Michael
zadjii-msft 1044d49
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft 277f280
Enable conpty to be resized even when headed
zadjii-msft 7a40fe3
These bugs were twofold
zadjii-msft a3a9464
When we increase the width of the buffer, always use the old viewport…
zadjii-msft 4ca280c
When we change the width at all, use the top, not the bottom.
zadjii-msft 077f678
This seems like it finally does it
zadjii-msft 85efaa7
git merge --squash dev/migrie/f/more-reflow-experiments
zadjii-msft 9127e1c
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
zadjii-msft 61ccc28
fix the tests
zadjii-msft aff3cc5
someday I"ll actually save all the files with changes in them before …
zadjii-msft 0532c66
fix the renderer test
zadjii-msft 5394b30
make this a reference to an optional. These tests better pass...
zadjii-msft 7ecd3c6
Merge remote-tracking branch 'origin/master' into dev/migrie/f/reflow…
DHowett 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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma warning (suppress: 26496)
should also work if you want a one liner instead of push/disable/pop.