Hyprx.Ansi
0.0.0-alpha.2
See the version list below for details.
dotnet add package Hyprx.Ansi --version 0.0.0-alpha.2
NuGet\Install-Package Hyprx.Ansi -Version 0.0.0-alpha.2
<PackageReference Include="Hyprx.Ansi" Version="0.0.0-alpha.2" />
<PackageVersion Include="Hyprx.Ansi" Version="0.0.0-alpha.2" />
<PackageReference Include="Hyprx.Ansi" />
paket add Hyprx.Ansi --version 0.0.0-alpha.2
#r "nuget: Hyprx.Ansi, 0.0.0-alpha.2"
#:package Hyprx.Ansi@0.0.0-alpha.2
#addin nuget:?package=Hyprx.Ansi&version=0.0.0-alpha.2&prerelease
#tool nuget:?package=Hyprx.Ansi&version=0.0.0-alpha.2&prerelease
Hyprx.Ansi
Overview
The libraries provides basic ansi terminal formatting, color detection, and setting the windows console mode to enable 24bit colors.
Usage
using static Hyprx.Ansi;
Console.WriteLine($"task was ${Bold(Green("completed"))}");
Console.WriteLine($"{Rgb24(0xff7b00, "Orange")} you glad you met me?");
Console.WriteLine($"What rhymes with {Rgb8(202, "orange")}?");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Hyprx.Colors.Primitives (>= 0.0.0-alpha.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Hyprx.Ansi:
Package | Downloads |
---|---|
Hyprx.Rex.Console
The Hyprx.Rex.Console package enables you to create a cli task runner or a make-like experience in .NET within console projects or using `dotnet run app.cs` (single files). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.0.0-alpha.3 | 124 | 7/10/2025 |
0.0.0-alpha.2 | 114 | 7/10/2025 |
0.0.0-alpha.1 | 123 | 6/25/2025 |
0.0.0-alpha.0 | 123 | 6/17/2025 |
# Hyprx.Ansi Changelog
## 0.0.0-alpha.0
- AnsiDetector for detecting the color mode e.g. none, 4bit, 8bit, and 24bit
- Ansi static methods for applying basic 4bit styles and methods like rgb24 that
allows setting a truecolor.
- For Windows, ENABLE_VIRTUAL_TERMINAL_PROCESSING is set for the Console mode.