[PR #8934] [MERGED] Improve OSC 9;9 parsing logic & add tests #27342

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/8934
Author: @skyline75489
Created: 1/29/2021
Status: Merged
Merged: 2/4/2021
Merged by: @undefined

Base: mainHead: chesterliu/dev/fix-osc-9-9-parsing


📝 Commits (2)

📊 Changes

2 files changed (+70 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalCore/TerminalDispatch.cpp (+13 -1)
📝 src/cascadia/UnitTests_TerminalCore/TerminalApiTest.cpp (+57 -0)

📄 Description

This PR fixes the parsing of OSC 9;9 sequences with path surrounded by
quotation marks.

Original OSC 9;9 PR: #8330

Unit test added. Manually tested with oh-my-posh.

Closes #8930


🔄 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/8934 **Author:** [@skyline75489](https://github.com/skyline75489) **Created:** 1/29/2021 **Status:** ✅ Merged **Merged:** 2/4/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `chesterliu/dev/fix-osc-9-9-parsing` --- ### 📝 Commits (2) - [`c60dfbd`](https://github.com/microsoft/terminal/commit/c60dfbd8a4327ca53aebfe05753fa18ffff16700) Improve OSC 9;9 parsing logic & add tests - [`66ce9e2`](https://github.com/microsoft/terminal/commit/66ce9e2917aa2fb81cf3bbf6613f3a15e643b87e) typo ### 📊 Changes **2 files changed** (+70 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalCore/TerminalDispatch.cpp` (+13 -1) 📝 `src/cascadia/UnitTests_TerminalCore/TerminalApiTest.cpp` (+57 -0) </details> ### 📄 Description This PR fixes the parsing of OSC 9;9 sequences with path surrounded by quotation marks. Original OSC 9;9 PR: #8330 Unit test added. Manually tested with oh-my-posh. Closes #8930 --- <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:21:26 +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#27342