Merged
Conversation
lhecker
commented
Jul 1, 2025
| // - inheritCursor - a bool indicating if the state machine should expect a | ||
| // cursor positioning sequence. See MSFT:15681311. | ||
| VtInputThread::VtInputThread(_In_ wil::unique_hfile hPipe, const bool inheritCursor) : | ||
| VtInputThread::VtInputThread(_In_ wil::unique_hfile hPipe, std::function<void()> capturedCPR) : |
Member
Author
There was a problem hiding this comment.
IDK if this approach is ideal.
carlos-zamora
approved these changes
Jul 14, 2025
DHowett
requested changes
Jul 14, 2025
Member
DHowett
left a comment
There was a problem hiding this comment.
i shall like to Noodle about this
Member
Author
|
DHowett
reviewed
Jul 29, 2025
src/host/VtIo.cpp
Outdated
|
|
||
| void VtIo::RequestCursorPositionFromTerminal() | ||
| { | ||
| if (!_lookingForCursorPosition) |
Member
There was a problem hiding this comment.
Wait, but nobody sets this to true?
Member
Author
There was a problem hiding this comment.
The debouncing logic was broken so it was always sent. (It does get set to true at the top of the file though.)
DHowett
requested changes
Jul 29, 2025
Member
DHowett
left a comment
There was a problem hiding this comment.
I am not 100% clear on how this all works together
DHowett
approved these changes
Aug 4, 2025
lhecker
added a commit
that referenced
this pull request
Aug 11, 2025
This reverts commit c55aca5 because it is unaware of the VT state and may inject the DSR CPR while e.g. a DCS is going on.
DHowett
pushed a commit
that referenced
this pull request
Aug 11, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This will help terminals with a reflow behavior unlike
the one implemented in ConPTY, such as VS Code.
Closes #18725
Validation Steps Performed
pushed outside the top viewport. Then type something in the prompt.
Cursor is in a consistent position, even if slightly off. ✅