[PR #13766] [MERGED] Allow til::from_wchars to work with chars #29758

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13766
Author: @lhecker
Created: 8/17/2022
Status: Merged
Merged: 8/18/2022
Merged by: @undefined

Base: mainHead: dev/lhecker/til-from-wchars


📝 Commits (1)

  • ee5090b Allow til::from_wchars to work with chars

📊 Changes

3 files changed (+37 additions, -22 deletions)

View changed files

📝 src/cascadia/TerminalSettingsModel/KeyChordSerialization.cpp (+1 -1)
📝 src/inc/til/string.h (+33 -18)
📝 src/til/ut_til/string.cpp (+3 -3)

📄 Description

Rename til::form_wchars to til::to_ulong and
allow it to work with narrow chars.

This change will be used in #13429.

Validation Steps Performed

  • Loads sc(...) key bindings as expected
  • The change is thankfully fairly trivial if viewn with whitespace suppressed

🔄 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/13766 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 8/17/2022 **Status:** ✅ Merged **Merged:** 8/18/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/til-from-wchars` --- ### 📝 Commits (1) - [`ee5090b`](https://github.com/microsoft/terminal/commit/ee5090b47407947a1ced39d2ed326d77bcfe21b8) Allow til::from_wchars to work with chars ### 📊 Changes **3 files changed** (+37 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalSettingsModel/KeyChordSerialization.cpp` (+1 -1) 📝 `src/inc/til/string.h` (+33 -18) 📝 `src/til/ut_til/string.cpp` (+3 -3) </details> ### 📄 Description Rename `til::form_wchars` to `til::to_ulong` and allow it to work with narrow `char`s. This change will be used in #13429. ## Validation Steps Performed * Loads `sc(...)` key bindings as expected ✅ * The change is thankfully fairly trivial if viewn with whitespace suppressed --- <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:36:44 +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#29758