Repository navigation
Patch fix for #1360 until WriteStream (#780) can be implemented. - #2924
4 commits merged into
Conversation
|
Same code snippet against conhost doesn't crash, so I don't believe there's anything to fix there right now. This makes sense since it should hit the OG |
Mike Griese (zadjii-msft)
left a comment
There was a problem hiding this comment.
For the record, I'm on board shipping this. I can't imagine blocking over something in test code, but I'll patiently wait for the test to sign off
…tat. Writes a bisecting character to the right most cell in the window.
|
Hello Mike Griese (@zadjii-msft)! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| } | ||
|
|
||
| // If we're about to try to place the cursor past the right edge of the buffer, move it down a row | ||
| // This is another patch that GH#780 should supercede. This is really correcting for other bad situations |
There was a problem hiding this comment.
supersede*
|
🎉 Handy links: |

Summary of the Pull Request
Writing can enter an infinite loop with full-width characters being inserted into the last column of the buffer.
References
#780
PR Checklist
Detailed Description of the Pull Request / Additional comments
This is because the "WriteCharsLegacy2ElectricBoogaloo" implementation in the Terminal (
Terminal::_WriteBuffer) is a hacky thing that we put together knowing full well that we'd have to do #780 but we had to get this working enough for now. Turns out, it's not super complete and fragile. Surprise.Validation Steps Performed