[PR #4721] [MERGED] TermControl: don't use narrow when narrow_cast will do #25904

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/4721
Author: @DHowett-MSFT
Created: 2/25/2020
Status: Merged
Merged: 2/26/2020
Merged by: @DHowett-MSFT

Base: masterHead: dev/duhowett/this_cast_it_looks_so_narrow


📝 Commits (1)

  • b425b90 TermControl: don't use narrow when narrow_cast will do

📊 Changes

2 files changed (+10 additions, -10 deletions)

View changed files

📝 src/cascadia/TerminalControl/TermControl.cpp (+6 -6)
📝 src/cascadia/TerminalControl/TermControlAutomationPeer.cpp (+4 -4)

📄 Description

(I believe that this) fixes #4623, which looks like it was caused by
floats being truncated when stuffed into LONGs for UIA purposes.


🔄 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/4721 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 2/25/2020 **Status:** ✅ Merged **Merged:** 2/26/2020 **Merged by:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Base:** `master` ← **Head:** `dev/duhowett/this_cast_it_looks_so_narrow` --- ### 📝 Commits (1) - [`b425b90`](https://github.com/microsoft/terminal/commit/b425b90d8e31103866cb93585ff0c5fcf91b5555) TermControl: don't use narrow when narrow_cast will do ### 📊 Changes **2 files changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalControl/TermControl.cpp` (+6 -6) 📝 `src/cascadia/TerminalControl/TermControlAutomationPeer.cpp` (+4 -4) </details> ### 📄 Description (I believe that this) fixes #4623, which looks like it was caused by floats being truncated when stuffed into LONGs for UIA purposes. --- <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:12:32 +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#25904