[PR #1169] [MERGED] Remove carriage return from WSL distribution names. #24509

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

📋 Pull Request Information

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

Base: masterHead: WSLNewLine


📝 Commits (9)

  • cbe32e8 Merge pull request #1 from microsoft/master
  • 0100efe Eliminate carriage return character
  • e60a133 Add WSLName ending identifiers.
  • fca93ef Removed redundant '\r'
  • 3a4bdf9 Update src/cascadia/TerminalApp/CascadiaSettings.cpp
  • b450c9b Comments regarding a fix for localizations.
  • 515c6b2 Added comments
  • cb4c955 Update src/cascadia/TerminalApp/CascadiaSettings.cpp
  • df0f9fe Update src/cascadia/TerminalApp/CascadiaSettings.cpp

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalApp/CascadiaSettings.cpp (+8 -1)

📄 Description

Summary of the Pull Request

Checks the Distribution name for \r and removes it if necessary.

References

#1168

PR Checklist

Detailed Description of the Pull Request / Additional comments

One line to check for and remove any carriage return characters.

Validation Steps Performed

I've installed a second distribution and tested this to ensure that it now functions properly.


🔄 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/1169 **Author:** [@JBanks](https://github.com/JBanks) **Created:** 6/8/2019 **Status:** ✅ Merged **Merged:** 6/10/2019 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `WSLNewLine` --- ### 📝 Commits (9) - [`cbe32e8`](https://github.com/microsoft/terminal/commit/cbe32e8825f2ccd736e7d428ba9b524b2dd97f7e) Merge pull request #1 from microsoft/master - [`0100efe`](https://github.com/microsoft/terminal/commit/0100efe4e3c6f8229425ec4beec5c87363036797) Eliminate carriage return character - [`e60a133`](https://github.com/microsoft/terminal/commit/e60a133505df12356a295824d9c11a800214a7aa) Add WSLName ending identifiers. - [`fca93ef`](https://github.com/microsoft/terminal/commit/fca93eff2698ba5ac5d1e042fdb75db4e4937af1) Removed redundant '\r' - [`3a4bdf9`](https://github.com/microsoft/terminal/commit/3a4bdf974b563002b1e3d921497cb8d455e2d393) Update src/cascadia/TerminalApp/CascadiaSettings.cpp - [`b450c9b`](https://github.com/microsoft/terminal/commit/b450c9baaaa6b1cc27baf4520f13e754dae90279) Comments regarding a fix for localizations. - [`515c6b2`](https://github.com/microsoft/terminal/commit/515c6b29382d308be2b42b30b72c7b43cb1cdb89) Added comments - [`cb4c955`](https://github.com/microsoft/terminal/commit/cb4c9554137e96225eb1992bc43fd06d011c9eb0) Update src/cascadia/TerminalApp/CascadiaSettings.cpp - [`df0f9fe`](https://github.com/microsoft/terminal/commit/df0f9fe5a0f1918a3f48b3bbafb740cab226a880) Update src/cascadia/TerminalApp/CascadiaSettings.cpp ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/CascadiaSettings.cpp` (+8 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Checks the Distribution name for `\r` and removes it if necessary. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References #1168 <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #1168 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Requires documentation to be updated * [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments One line to check for and remove any carriage return characters. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed I've installed a second distribution and tested this to ensure that it now functions properly. --- <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:03:43 +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#24509