-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Fix the cursor blink VT sequence being ignored #10589
Conversation
|
||
bool isPty; | ||
DoSrvIsConsolePty(isPty); | ||
// If we are connected to a pty, return that we could not handle this |
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.
Confusing. We did handle it by turning on our own blinking... didn't we with DoSrvPrivateAllowCursorBlinking
above?
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.
Returning false
in an event handler for the VT Parser's OutputStateMachineEngine has been overloaded to mean, "Pass this through to the connected terminal."
This is not the first, and will likely not be the last, case in which we do this.
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.
So we are saying that we need to process it AND the connected terminal needs to process it too... right?
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.
So technically we don't need to process it ourselves, only the connected terminal needs to. I've done it this way just so there's consistency between the two, just in case.
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.
Just leave that as a comment then to inform a future reader, please, and I'm good then.
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.
Okay, added!
Hello @DHowett! 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 (
|
🎉 Handy links: |
🎉 Handy links: |
Maybe there should be a warning like https://unix.stackexchange.com/a/3769/277889. |
Ensure that the cursor blink VT sequence gets flushed to terminal when conhost is attached to a pty
Closes #10543