[PR #1347] [CLOSED] [WIP] add wpf control #24598

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/1347
Author: @ghost
Created: 6/20/2019
Status: Closed

Base: masterHead: wpfcontrol


📝 Commits (1)

📊 Changes

24 files changed (+1394 additions, -2 deletions)

View changed files

📝 OpenConsole.sln (+210 -2)
src/cascadia/PublicTerminalCore/HwndTerminal.hpp (+48 -0)
src/cascadia/PublicTerminalCore/PublicTerminalCore.vcxproj (+44 -0)
src/cascadia/PublicTerminalCore/PublicTerminalCore.vcxproj.filters (+39 -0)
src/cascadia/PublicTerminalCore/Source.cpp (+200 -0)
src/cascadia/PublicTerminalCore/dllmain.cpp (+15 -0)
src/cascadia/PublicTerminalCore/framework.h (+5 -0)
src/cascadia/PublicTerminalCore/pch.cpp (+4 -0)
src/cascadia/PublicTerminalCore/pch.h (+6 -0)
src/cascadia/WpfTerminalControl/ITerminalConnection.cs (+29 -0)
src/cascadia/WpfTerminalControl/NativeMethods.cs (+47 -0)
src/cascadia/WpfTerminalControl/Properties/AssemblyInfo.cs (+55 -0)
src/cascadia/WpfTerminalControl/Properties/Resources.Designer.cs (+62 -0)
src/cascadia/WpfTerminalControl/Properties/Resources.resx (+117 -0)
src/cascadia/WpfTerminalControl/Properties/Settings.Designer.cs (+30 -0)
src/cascadia/WpfTerminalControl/Properties/Settings.settings (+7 -0)
src/cascadia/WpfTerminalControl/TerminalControl.cs (+232 -0)
src/cascadia/WpfTerminalControl/TerminalSettings.cs (+34 -0)
src/cascadia/WpfTerminalControl/Themes/Generic.xaml (+9 -0)
src/cascadia/WpfTerminalControl/UserControl1.xaml (+13 -0)

...and 4 more files

📄 Description

Summary of the Pull Request

This is a super early work in progress PR to add a working WPF control to the repo. I'm creating this PR early so that I can get open feedback in case the general direction of this work is not what is wanted. Many type names, project names, and assembly names are still placeholders.

Right now a basic control is working that can accept user typing input and show a scrollbar, the scrollbar can not actually be manipulated however.

References

#1274 #1263 are related in that there is a larger body of work to make this easy to embed across various OSes and environments.

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here 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

🔄 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/1347 **Author:** [@ghost](https://github.com/ghost) **Created:** 6/20/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `wpfcontrol` --- ### 📝 Commits (1) - [`9cc1b9c`](https://github.com/microsoft/terminal/commit/9cc1b9cb7f61eb2881679601ed7babe2e7dc3bfb) add wpf control ### 📊 Changes **24 files changed** (+1394 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `OpenConsole.sln` (+210 -2) ➕ `src/cascadia/PublicTerminalCore/HwndTerminal.hpp` (+48 -0) ➕ `src/cascadia/PublicTerminalCore/PublicTerminalCore.vcxproj` (+44 -0) ➕ `src/cascadia/PublicTerminalCore/PublicTerminalCore.vcxproj.filters` (+39 -0) ➕ `src/cascadia/PublicTerminalCore/Source.cpp` (+200 -0) ➕ `src/cascadia/PublicTerminalCore/dllmain.cpp` (+15 -0) ➕ `src/cascadia/PublicTerminalCore/framework.h` (+5 -0) ➕ `src/cascadia/PublicTerminalCore/pch.cpp` (+4 -0) ➕ `src/cascadia/PublicTerminalCore/pch.h` (+6 -0) ➕ `src/cascadia/WpfTerminalControl/ITerminalConnection.cs` (+29 -0) ➕ `src/cascadia/WpfTerminalControl/NativeMethods.cs` (+47 -0) ➕ `src/cascadia/WpfTerminalControl/Properties/AssemblyInfo.cs` (+55 -0) ➕ `src/cascadia/WpfTerminalControl/Properties/Resources.Designer.cs` (+62 -0) ➕ `src/cascadia/WpfTerminalControl/Properties/Resources.resx` (+117 -0) ➕ `src/cascadia/WpfTerminalControl/Properties/Settings.Designer.cs` (+30 -0) ➕ `src/cascadia/WpfTerminalControl/Properties/Settings.settings` (+7 -0) ➕ `src/cascadia/WpfTerminalControl/TerminalControl.cs` (+232 -0) ➕ `src/cascadia/WpfTerminalControl/TerminalSettings.cs` (+34 -0) ➕ `src/cascadia/WpfTerminalControl/Themes/Generic.xaml` (+9 -0) ➕ `src/cascadia/WpfTerminalControl/UserControl1.xaml` (+13 -0) _...and 4 more files_ </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 This is a super early work in progress PR to add a working WPF control to the repo. I'm creating this PR early so that I can get open feedback in case the general direction of this work is not what is wanted. Many type names, project names, and assembly names are still placeholders. Right now a basic control is working that can accept user typing input and show a scrollbar, the scrollbar can not actually be manipulated however. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References #1274 #1263 are related in that there is a larger body of work to make this easy to embed across various OSes and environments. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [ ] Closes #xxx * [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 --- <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:04:16 +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#24598