[PR #9296] [MERGED] Add a helper function to initialize TermControls in TerminalPage #27522

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/9296
Author: @PankajBhojwani
Created: 2/25/2021
Status: Merged
Merged: 3/12/2021
Merged by: @undefined

Base: mainHead: dev/pabhoj/control_init


📝 Commits (3)

📊 Changes

2 files changed (+11 additions, -3 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+8 -3)
📝 src/cascadia/TerminalApp/TerminalPage.h (+3 -0)

📄 Description

Since #8602 merged, we need to pass a child of the settings object to
the TermControl upon initializing it. Since this happens in a few places
in TerminalPage, its probably best to use a helper.

Closes #9292


🔄 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/9296 **Author:** [@PankajBhojwani](https://github.com/PankajBhojwani) **Created:** 2/25/2021 **Status:** ✅ Merged **Merged:** 3/12/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/pabhoj/control_init` --- ### 📝 Commits (3) - [`2a967df`](https://github.com/microsoft/terminal/commit/2a967df409ce0d115f5d725b5e061a3a5740d5f8) helper - [`99cccce`](https://github.com/microsoft/terminal/commit/99cccce2d233a89d0e036ab62e345bea10c8dc0d) const - [`0536ccb`](https://github.com/microsoft/terminal/commit/0536ccb1b4abec1e8962cc3addb3a9ad32ce8d92) & ### 📊 Changes **2 files changed** (+11 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+8 -3) 📝 `src/cascadia/TerminalApp/TerminalPage.h` (+3 -0) </details> ### 📄 Description Since #8602 merged, we need to pass a child of the settings object to the TermControl upon initializing it. Since this happens in a few places in `TerminalPage`, its probably best to use a helper. Closes #9292 --- <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:22:29 +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#27522