AnyConsole 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AnyConsole --version 1.0.0
NuGet\Install-Package AnyConsole -Version 1.0.0
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="AnyConsole" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnyConsole --version 1.0.0
#r "nuget: AnyConsole, 1.0.0"
#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.
// Install AnyConsole as a Cake Addin
#addin nuget:?package=AnyConsole&version=1.0.0

// Install AnyConsole as a Cake Tool
#tool nuget:?package=AnyConsole&version=1.0.0

AnyConsole

A CSharp library that gives you better console handling for that classic ASCII look.

Description

AnyConsole was designed for server service windows, utility tooling and log output windows. It's very handy if you need static header/footers on your consoles while maintaining scrollable areas, adding visual components or more advanced input management such as mouse control. It integrates very well with TopShelf for services.

Installation

Install AnyConsole from the Package Manager Console:

PM> Install-Package AnyConsole

Visual Examples

-coming shortly-

Usage

var console = new ExtendedConsole();
console.Configure(config =>
{
    config.SetStaticRow("Header", RowLocation.Top, Color.White, Color.DarkRed);
    config.SetStaticRow("SubHeader", RowLocation.Top, 1, Color.White, Color.FromArgb(30, 30, 30));
    config.SetStaticRow("Footer", RowLocation.Bottom, Color.White, Color.DarkBlue);
    config.SetLogHistoryContainer(RowLocation.Top, 2);
});
console.WriteRow("Header", "My Game Server", ColumnLocation.Left, Color.Yellow); // show text on the left
console.WriteRow("Header", Component.Time, ColumnLocation.Right); // show the time on the right
console.WriteRow("SubHeader", "This is a test application console", ColumnLocation.Left, Color.FromArgb(60, 60, 60));
console.Start();
console.WaitForClose();

Features

  • Static headers display
  • Text alignment
  • Keyboard/mouse event handling (windows only)
  • Overrides stdout for static display of scrollable content
  • Full color support thanks to Colorful integration!
  • Component rendering (built-in rendered components, and custom components of your own)
  • Text output formatting of logs
  • Multithreaded

Components

Components allow you to easily add UI elements to your console application, that self update and render. Common usage would be a DateTime component that always displays the current time.

Built-in components

  • DateTime
  • Memory usage
  • Drive usage
  • Drive activity
  • IP Address
  • Network Bandwidth

Custom components

Custom components need to simply implement IComponent and it will be rendered to the display. More details to come...

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.72 1,678 6/26/2022
1.0.65 1,172 3/27/2020
1.0.64 453 3/27/2020
1.0.63 467 3/27/2020
1.0.60 459 3/27/2020
1.0.59 528 3/26/2020
1.0.58 511 3/24/2020
1.0.57 468 3/24/2020
1.0.56 495 3/24/2020
1.0.55 488 3/12/2020
1.0.54 477 3/12/2020
1.0.51 537 3/11/2020
1.0.49 437 3/11/2020
1.0.48 450 3/9/2020
1.0.47 471 3/9/2020
1.0.46 520 3/8/2020
1.0.43 499 2/18/2020
1.0.41 472 2/18/2020
1.0.39 1,343 5/3/2019
1.0.38 1,011 4/24/2019
1.0.37 1,037 3/27/2019
1.0.34 911 3/27/2019
1.0.30 1,102 3/9/2019
1.0.29 954 3/8/2019
1.0.26 1,303 2/9/2019
1.0.25 964 2/9/2019
1.0.24 987 2/9/2019
1.0.22 977 2/9/2019
1.0.21 989 2/9/2019
1.0.20 988 2/9/2019
1.0.18 975 2/9/2019
1.0.17 974 2/8/2019
1.0.14 982 2/7/2019
1.0.9 987 2/6/2019
1.0.7 1,018 1/31/2019
1.0.6 957 1/31/2019
1.0.5 1,084 1/15/2019
1.0.0 1,044 1/15/2019

A CSharp library that gives you better console handling for that classic ASCII look.