BlackBytesBox.Retro.Core
0.1.20253.2175
dotnet add package BlackBytesBox.Retro.Core --version 0.1.20253.2175
NuGet\Install-Package BlackBytesBox.Retro.Core -Version 0.1.20253.2175
<PackageReference Include="BlackBytesBox.Retro.Core" Version="0.1.20253.2175" />
<PackageVersion Include="BlackBytesBox.Retro.Core" Version="0.1.20253.2175" />
<PackageReference Include="BlackBytesBox.Retro.Core" />
paket add BlackBytesBox.Retro.Core --version 0.1.20253.2175
#r "nuget: BlackBytesBox.Retro.Core, 0.1.20253.2175"
#addin nuget:?package=BlackBytesBox.Retro.Core&version=0.1.20253.2175
#tool nuget:?package=BlackBytesBox.Retro.Core&version=0.1.20253.2175
BlackBytesBox.Retro.Core
A streamlined .NET helper for precise control over the Windows console.
⭐ Features
- Attach or create a console from any GUI process with one call.
- Disable the ❌ Close button and Quick-Edit to avoid accidental termination or freezes.
- UTF-8 everywhere – print emoji 🎉 and non-Latin scripts seamlessly.
- Programmatic font switch (Lucida Console, Consolas, Cascadia Mono, etc.).
- Move & resize using client-area coordinates for pixel-perfect placement.
📦 Installation
# .NET CLI
dotnet add package BlackBytesBox.Retro.Core
Targets .NET 6+ and .NET Framework 4.7.2+.
🚀 Quick Start
using BlackBytesBox.Retro.Core;
// 1. Prepare the console
var c = NativeMethods.ConsoleManager;
c.EnsureConsole();
c.DisableCloseButton();
c.DisableQuickEdit();
c.SetFont(NativeMethods.ConsoleManager.ConsoleFont.LucidaConsole);
c.EnableUtf8();
// 2. Align client-area to (0,0)
var deco = NativeMethods.WindowManager.GetWindowDecorations();
c.MoveAndResize(x: 0 - deco.BorderWidth, y: 0);
Run once – you’ll have a UTF-8 console anchored to the primary screen’s top-left.
🧩 API Overview
NativeMethods
├── ConsoleManager
│ ├── EnsureConsole()
│ ├── DisableCloseButton()
│ ├── DisableQuickEdit()
│ ├── SetFont(ConsoleFont font)
│ ├── EnableUtf8()
│ └── MoveAndResize(int x, int y, int? w = null, int? h = null)
└── WindowManager
└── GetWindowDecorations() : WindowDecorations
Full XML docs with nullable annotations ship with the package.
📜 License
MIT © BlackBytesBox 2025
Built with ❤️ by BlackBytesBox
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.20253.2175 | 122 | 5/28/2025 |
Release Notes – 0.1.* (2025-05-28)
===================================
Status: Early Development Phase
--------------------------------
This release continues the foundational development of the software.
As progress towards version 1.0, the focus remains on refining core
functionalities, improving stability, and integrating key features.
Users should expect frequent updates, iterative refinements, and
potential changes as the project matures.
What's New & Improved?
----------------------
- Active core development with ongoing refinements.
- Initial groundwork for future stable releases.
Third-Party Notices
--------------------
Third-party dependencies and their respective licenses are documented
in the `THIRD-PARTY-NOTICES.txt` file, located in the root of the
repository. Please review this file to ensure compliance with any
relevant licensing terms.