Woof.Console 5.1.0

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

// Install Woof.Console as a Cake Tool
#tool nuget:?package=Woof.Console&version=5.1.0                

Woof.Console

.NET extension created by CodeDog

Distributed under MIT License. (c)2021 by CodeDog, All rights reserved.


About

Console extensions and filters allowing colored output and using multiple cursors for advanced layouts.

See the Demo project in sources for examples.

This is a complete rewrite of the previous version that is now deprecated. Current version was tested on Windows and Linux systems using PuTTY as Linux Terminal. The CommandLine class was removed, because there is a specialized Woof package for that now.

This package is incompatible with versions older than 5.1.0.

Known issues

  • Cursor dots may flicker and change colors. System.Console is not asynchronous nor thread safe. There's probably no way around it. Most of the time it works good though.
  • Multiple cursors display may break when bottom end of the window is reached.
  • The output is slow, because System.Console is slow and the colored output uses many string manipulations.
  • The LogAsync method may display messages in a different order than they were called.
  • The defined colors may look different on different terminals and even be invisible on some.
  • Tested on Windows 11 and Ubuntu 20.4, colors may look different or ugly on other systems.
  • The source won't compile on older Visual Studio versions.
  • The package requires .NET 5.0 or newer.

Disclaimer

Please report any issues to the toolkit developer.

Woof Toolkit is a work in progress in constant development, however it's carefully maintained with production code quality.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Woof.Console:

Package Downloads
Woof.Service

Windows Service made easy.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.0 173 8/6/2023
6.2.0 462 2/20/2022
6.0.0 328 11/9/2021
5.2.1 313 9/8/2021
5.2.0 316 9/8/2021
5.1.0 303 9/8/2021
5.0.1 302 9/7/2021
5.0.0 297 9/7/2021
2.2.0 503 9/9/2020
2.1.2 448 9/8/2020
2.1.1 511 9/8/2020
2.1.0 551 9/8/2020
2.0.1 612 9/26/2019
2.0.0 1,210 7/25/2019

Replaced Progress with Cursor class. New ConsoleEx.Start() parameters. New color theme.