[PR #4896] [MERGED] When Conpty encounters an unknown string, flush immediately #26010

Open
opened 2026-01-31 09:13:19 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/4896
Author: @zadjii-msft
Created: 3/12/2020
Status: Merged
Merged: 3/12/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/migrie/b/4106-flush-cursor-shape


📝 Commits (2)

  • 3c48ee8 When Conpty encounters a string we don't understand, immediately flush the frame
  • 8cb379e Update src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp

📊 Changes

4 files changed (+68 additions, -11 deletions)

View changed files

📝 src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp (+31 -0)
📝 src/renderer/vt/WinTelnetEngine.cpp (+13 -1)
📝 src/renderer/vt/XtermEngine.cpp (+15 -3)
📝 src/terminal/adapter/adaptDispatch.cpp (+9 -7)

📄 Description

When ConPTY encounters a string we don't understand, immediately flush the frame.

References

This PR supersedes #2665. This solution is much simpler than what was proposed in that PR.
As mentioned in #2665: "This might have some long-term consequences for #1173."

PR Checklist


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/4896 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 3/12/2020 **Status:** ✅ Merged **Merged:** 3/12/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/migrie/b/4106-flush-cursor-shape` --- ### 📝 Commits (2) - [`3c48ee8`](https://github.com/microsoft/terminal/commit/3c48ee8a77981300511d35e74d4cde5b6b0ca0a1) When Conpty encounters a string we don't understand, immediately flush the frame - [`8cb379e`](https://github.com/microsoft/terminal/commit/8cb379e43acdb3805ebcb6c0881d5d3063ad501c) Update src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp ### 📊 Changes **4 files changed** (+68 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/UnitTests_TerminalCore/ConptyRoundtripTests.cpp` (+31 -0) 📝 `src/renderer/vt/WinTelnetEngine.cpp` (+13 -1) 📝 `src/renderer/vt/XtermEngine.cpp` (+15 -3) 📝 `src/terminal/adapter/adaptDispatch.cpp` (+9 -7) </details> ### 📄 Description When ConPTY encounters a string we don't understand, immediately flush the frame. ## References This PR supersedes #2665. This solution is much simpler than what was proposed in that PR. As mentioned in #2665: "This might have some long-term consequences for #1173." ## PR Checklist * [x] Closes #2011 * [x] Closes #4106 * [x] I work here * [x] Tests added/passed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:13:19 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#26010