microsoft / microsoft/terminal

Add new code sample for GUIConsole using WinUI 3 - Windows App SDK v1.1

Open
#13,851 5 comments 1 reaction 0 assignees View on GitHub
Area-TerminalControl Help Wanted Issue-Docs Product-Meta
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# Description of the new feature/enhancement

I'm creating a WinUI 3 Desktop application (using VS 2022 17.3 **Blank App WinUI 3 in Desktop** template) where I'd like to use the Windows Terminal API to create a terminal window control to use inside my application.

I started by looking at your [GUIConsole.WPF](https://github.com/microsoft/terminal/tree/main/samples/ConPTY/GUIConsole) sample that is written in WPF for .NET Framework 4.6.1.

I tried to port the classes and the XAML window but I'm not able to let it work. I still have errors both on XAML and on code.

# Proposed technical implementation details

Can you please add a new version of the code sample that is written using the new Windows App SDK v1.1?

Contributor guide

Open the contributing guide

Research direction

Start with samples/ConPTY/GUIConsole, the existing WPF sample referenced in the issue, and compare it with the Blank App WinUI 3 in Desktop template. Review the XAML and code errors reported by the author, then define the WinUI 3 Windows App SDK v1.1 sample scope; done means a working GUIConsole sample in that template.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.