Repository navigation
Fix 5s lags when using OSC 52 clipboard copy - #20728
Merged
Merged
Conversation
Leonard Hecker (lhecker)
marked this pull request as draft
September 26, 2026 23:49
Dustin L. Howett (DHowett)
approved these changes
Sep 26, 2026
Leonard Hecker (lhecker)
marked this pull request as ready for review
September 28, 2026 14:29
Leonard Hecker (lhecker)
enabled auto-merge (squash)
September 28, 2026 14:29
Member
Author
|
Tested locally - works perfectly. |
Dustin L. Howett (DHowett)
approved these changes
Sep 28, 2026
Dustin L. Howett (DHowett)
pushed a commit
that referenced
this pull request
Sep 29, 2026
Hilarious repro: `printf "\e]0;A\a\e]52;c;Qg==\a"` This issue is exactly what happens when you Ctrl+X in a clean file in msedit and it freezes Windows Terminal. It's because it puts a "•" in the title and copies the text. It triggers a title and clipboard change in the same frame which causes the UI and VT thread to deadlock trying to get the console lock. (cherry picked from commit 0626dc1) Service-Card-Id: PVTI_lADOAF3p4s4BQX0-zg9O_QY Service-Version: 1.25
Dustin L. Howett (DHowett)
pushed a commit
that referenced
this pull request
Oct 1, 2026
Hilarious repro: `printf "\e]0;A\a\e]52;c;Qg==\a"` This issue is exactly what happens when you Ctrl+X in a clean file in msedit and it freezes Windows Terminal. It's because it puts a "•" in the title and copies the text. It triggers a title and clipboard change in the same frame which causes the UI and VT thread to deadlock trying to get the console lock. (cherry picked from commit 0626dc1) Service-Card-Id: PVTI_lADOAF3p4s4BBcTlzg9O_Qs Service-Version: 1.24
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.
Hilarious repro:
printf "\e]0;A\a\e]52;c;Qg==\a"This issue is exactly what happens when you Ctrl+X in a clean file in
msedit and it freezes Windows Terminal. It's because it puts a "•" in
the title and copies the text.
It triggers a title and clipboard change in the same frame which causes
the UI and VT thread to deadlock trying to get the console lock.