NStack.Core 0.16.0

NStack.Core brings a set of updated APIs to .NET.  

It starts with a new string type that is focused on Unicode code-points as opposed to the historical chars and  UTF-16 encoding and introduces a utf8 string that supports slicing

Install-Package NStack.Core -Version 0.16.0
dotnet add package NStack.Core --version 0.16.0
<PackageReference Include="NStack.Core" Version="0.16.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NStack.Core --version 0.16.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NStack.Core, 0.16.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NStack.Core as a Cake Addin
#addin nuget:?package=NStack.Core&version=0.16.0

// Install NStack.Core as a Cake Tool
#tool nuget:?package=NStack.Core&version=0.16.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

0.16: Fixes issue #51 (chess symbols);  0.15: Fixes to MaxRune;   ColumnWidth differentiates between non-printable and nul characters; Rune has a constructor from two surrogate pairs; contributions by @BDisp;  0.14: Upgrade the NetStandard dependencies;

0.13: Fixes ustring.Map() and Lower(); Extends Rune.IsValid to match Go; add Rune.ExpectedSizeFromFirstByte()  plus a bug fix;
stack 0.12: Rebuilt
Rebuild with an older Roslyn, to prevent regressions on Xamarin.

0.10:
Merged some changes from upstream.

0.9:
Added ustring.ColumnWidth to return number of columns that a ustring takes in a console.

0.8:
* Renamed some methods to match the equivalent methods in Char.
* Introduced Substring (int start)
* Introduced difference between this [int start, int end] and this [int start, object end] the latter used to mean "until the end", replacing '0' as the previous value for "until the end".
* Introduced new method in Rune to measure the width in columns for console applications.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NStack.Core:

Package Downloads
Terminal.Gui
Console user interface toolkit for .NET applications.
guit
Library to build plugins for dotnet-guit.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on NStack.Core:

Repository Stars
migueldeicaza/gui.cs
Console-based user interface toolkit for .NET applications.
PowerShell/GraphicalTools
Modules that mix PowerShell and GUIs/CUIs! - built on Avalonia and gui.cs
rbmkio/radish
Desktop client for Redis (Windows, MacOS, Linux)
migueldeicaza/XtermSharp
XTerm emulator as a .NET library

Version History

Version Downloads Last updated
0.16.0 5,921 12/8/2020
0.15.0 1,828 10/30/2020
0.14.0 41,910 3/30/2020
0.13.0 587 2/29/2020
0.12.0 3,783 6/4/2018
0.11.0 34,544 4/24/2018
0.10.0 615 4/22/2018
0.9.0 526 4/22/2018
0.8.0 2,013 2/7/2018
0.7.0 723 1/24/2018
0.6.0 551 1/23/2018
0.5.0 538 1/23/2018
0.4.0 628 1/4/2018
0.3.0 541 6/3/2017
0.2.0 513 6/3/2017
0.1.0 503 6/2/2017