-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Fetch the terminal cursor position after a resize #19535
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
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Looks good to me! Thanks! 🙂
EDIT: aside from the build failure, of course. But that looks like it may be an easy fix.
| // wait for the DA1 response below and effectively wait for both. | ||
| if (_lookingForCursorPosition) | ||
| { | ||
| writer.WriteUTF8("\x1b[6n"); // Cursor Position Report (DSR CPR) |
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.
📝Moved to WriteDSRCPR()
|
Market as |
Closes #18725
Validation Steps Performed
Functionality was observed under a
debugger while using PowerShell 5.