[PR #3106] [MERGED] health: get rid of our hand-rolled sprintf->wstring helpers, prefer WIL #25238

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/3106
Author: @DHowett-MSFT
Created: 10/7/2019
Status: Merged
Merged: 10/8/2019
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/wstring


📝 Commits (1)

  • 61f379e Get rid of our hand-rolled sprintf->wstring helpers, prefer WIL

📊 Changes

4 files changed (+7 additions, -27 deletions)

View changed files

📝 src/cascadia/TerminalConnection/AzureConnection.cpp (+4 -11)
📝 src/cascadia/TerminalConnection/AzureConnection.h (+0 -1)
📝 src/cascadia/WindowsTerminal/main.cpp (+2 -7)
📝 src/types/utils.cpp (+1 -8)

📄 Description

Summary of the Pull Request

This is a general code health PR. I was reading about WIL, and found out that they've got these helpers already.

References

PR Checklist

  • Closes something (doesn't)
  • CLA signed
  • Tests added/passed
  • Requires documentation to be updated
  • WI_IsFlagSet(..., CoreContributor)

Validation

I ran the UUIDgen tests and used the azure cloud shell connector, and launched WT on the wrong architecture.


🔄 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/3106 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 10/7/2019 **Status:** ✅ Merged **Merged:** 10/8/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/wstring` --- ### 📝 Commits (1) - [`61f379e`](https://github.com/microsoft/terminal/commit/61f379e2f0c667c7c83b12db26b3fd4e8acc1af8) Get rid of our hand-rolled sprintf->wstring helpers, prefer WIL ### 📊 Changes **4 files changed** (+7 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalConnection/AzureConnection.cpp` (+4 -11) 📝 `src/cascadia/TerminalConnection/AzureConnection.h` (+0 -1) 📝 `src/cascadia/WindowsTerminal/main.cpp` (+2 -7) 📝 `src/types/utils.cpp` (+1 -8) </details> ### 📄 Description ## Summary of the Pull Request This is a general code health PR. I was reading about WIL, and found out that they've got these helpers already. ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [ ] Closes something (doesn't) * [ ] CLA signed * [x] Tests added/passed * [ ] Requires documentation to be updated * [x] `WI_IsFlagSet(..., CoreContributor)` ## Validation I ran the UUIDgen tests and used the azure cloud shell connector, and launched WT on the wrong architecture. --- <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:08:12 +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#25238