mirror of
https://github.com/microsoft/terminal.git
synced 2026-02-04 09:14:43 +00:00
- Various spelling fixes - Refresh metadata (including dictionaries) - Upgrade to v0.0.25 ## Validation Steps Performed - check-spelling has been automatically testing this repository for a while now on a daily basis to ensure that it works fairly reliably: https://github.com/check-spelling-sandbox/autotest-check-spelling/actions/workflows/microsoft-terminal-spelling2.yml Specific in-code fixes: - winget - whereas - tl;dr - set up - otherwise, - more, - macbook - its - invalid - in order to - if - if the - for this tab,... - fall back - course, - cch - aspect - archaeologists - an - all at once - a - `...` - ; otherwise, Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
GUIConsole
This is an example of what the skeleton of a custom WPF console might look like.
The GUIConsole.WPF project is a WPF application targeting .NET 4.6.1. It creates a single WPF Window that acts as the console, and keeps the underlying console visible.
The GUIConsole.ConPTY project is a .NET Standard 2.0 library that handles the creation of the console, and enables pseudoconsole behavior. Terminal.cs contains the publicly visible pieces that the WPF application will interact with. Terminal.cs exposes two things that allow reading from, and writing to, the console:
ConsoleOutStream, aFileStreamhooked up to the pseudoconsole's output pipe. This will output VT100.WriteToPseudoConsole(string input), a method that will take the given string and write it to the pseudoconsole via its input pipe. This accepts VT100.