PromptPlus 5.0.0-rc1

This is a prerelease version of PromptPlus.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package PromptPlus --version 5.0.0-rc1
                    
NuGet\Install-Package PromptPlus -Version 5.0.0-rc1
                    
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="PromptPlus" Version="5.0.0-rc1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PromptPlus" Version="5.0.0-rc1" />
                    
Directory.Packages.props
<PackageReference Include="PromptPlus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PromptPlus --version 5.0.0-rc1
                    
#r "nuget: PromptPlus, 5.0.0-rc1"
                    
#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.
#:package PromptPlus@5.0.0-rc1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PromptPlus&version=5.0.0-rc1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PromptPlus&version=5.0.0-rc1&prerelease
                    
Install as a Cake Tool

Logo

Welcome to PromptPlus

The best tool to Interactive command-line toolkit for .NET Core with powerful controls and commands to create professional console applications. PromptPlus was developed in C# with the .NET 8, .NET 9, .NET 10 target frameworks. All controls input/filter using GNU Readline Emacs keyboard shortcuts.

PromptPlus Supports 4/8/24-bit colors in the terminal with auto-detection of the current terminal's capabilities and automatic color conversion.

Visit the official page for complete documentation of PromptPlus

What's new in V5.0.0

We're very excited about the big release of this new version. Version 5 has been completely redesigned and optimized for better stability, consistency, and performance. All controls and behaviors have been revisited and improved to ensure sustainable evolution. Due to the significant modifications, version 5 introduced significant changes and is incompatible with versions 4.x, although the concepts and components are very similar, requiring a small learning curve and minor methodological adjustments.

  • Support for .Net10,.Net9 and .Net8
  • External references were reviewed and only those necessary for size treatment for East Asian characters were used.
  • New control rendering engine adjusts more fluidly to the screen size and avoids flickering by redrawing only the changed lines.
  • Revised control of hotkeys and special characters ensuring consistency according to the console's capabilities.
  • Created the separation of interactive controls and added several non-interactive controls (widgets)
  • Introduced NEW multi-threaded operation for controls and commands. Now each command and control block the main thread during printing/interaction execution.
  • Renaming several control methods for better clarity and reduced scope, aiming at the unique responsibility that each component intends to perform, allowing for sustainable evolution.
  • Created the concept of an editing window for controls that require a significant input/response size, ensuring visual consistency and adequate navigability.
  • A slice architecture was adopted for each component, allowing individual evolution of each one with low interference to the others.
  • The NEW tooltip mechanism now shows all keys and hotkeys for each control by switching the view ('F1').
  • All interative controls start at : PromptPlus.Controls.<name of control>.
    • All initialization contracts have been standardized: PromptPlus.Controls.<name of control>(string prompt = "", string? description = null).
  • All no interative controls start at : PromptPlus.Widgets.<name of control>.
    • For each non-interactive control the initialization contract was customized.
  • All commands for console start at : PromptPlus.Console.<command>.
  • All general config start at : PromptPlus.Config.<config>.

Supported platforms

  • Windows
    • Command Prompt, PowerShell, Windows Terminal
  • Linux (Ubuntu, etc)
    • Windows Terminal (WSL 2)
  • macOS
    • Terminal.app

License

Copyright 2025 @ Fernando Cerqueira

PromptPlus is licensed under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on PromptPlus:

Package Downloads
PromptPlusCommandDotNet

Integration with the Command DotNet package with interactive command-line for toolkit for C# with powerful controls and commands.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on PromptPlus:

Repository Stars
ividyon/WitchyBND
Unpacks/repacks FromSoftware archive formats and serializes FromSoftware data formats.