LoomTerminal.Pty
0.1.0-alpha.2
This is a prerelease version of LoomTerminal.Pty.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package LoomTerminal.Pty --version 0.1.0-alpha.2
NuGet\Install-Package LoomTerminal.Pty -Version 0.1.0-alpha.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LoomTerminal.Pty" Version="0.1.0-alpha.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LoomTerminal.Pty" Version="0.1.0-alpha.2" />
<PackageReference Include="LoomTerminal.Pty" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LoomTerminal.Pty --version 0.1.0-alpha.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LoomTerminal.Pty, 0.1.0-alpha.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LoomTerminal.Pty@0.1.0-alpha.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LoomTerminal.Pty&version=0.1.0-alpha.2&prerelease
#tool nuget:?package=LoomTerminal.Pty&version=0.1.0-alpha.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
LoomTerminal.Pty
Pseudo terminal for LoomTerminal: Windows ConPTY (macOS and Linux planned), Native AOT-compatible.
Install
dotnet add package LoomTerminal.Pty --prerelease
--prerelease is needed while the version has a suffix (for example 0.1.0-alpha.1).
Most applications want LoomTerminal.WinUI, which brings the other packages.
Usage
using LoomTerminal.Pty;
ShellInfo shell = Shells.Detect()[0]; // PowerShell 7, Windows PowerShell, Git Bash, cmd, WSL…
using IPtyConnection pty = PseudoTerminal.Start(new PtyStartOptions(shell.CommandLine)
{
Columns = 120,
Rows = 30,
Environment = new Dictionary<string, string?> { ["TERM_PROGRAM"] = "MyApp" },
});
pty.Write("dir\r"u8);
await foreach (byte[] chunk in pty.Output.ReadAllAsync()) { /* VT bytes for the emulator */ }
Supported platforms
- Windows 10 1809 and later (ConPTY).
- macOS and Linux (
openpty): planned.
Source and documentation: https://github.com/adgranger/LoomTerminal
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LoomTerminal.Pty:
| Package | Downloads |
|---|---|
|
LoomTerminal.Presentation
UI-independent presentation layer of LoomTerminal: render model, input encoding, selection. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.0 | 1,357 | 11/5/2026 |
| 0.1.0-alpha.2 | 395 | 10/26/2026 |
| 0.1.0-alpha.1 | 106 | 10/23/2026 |