Boto 1.0.0
dotnet add package Boto --version 1.0.0
NuGet\Install-Package Boto -Version 1.0.0
<PackageReference Include="Boto" Version="1.0.0" />
paket add Boto --version 1.0.0
#r "nuget: Boto, 1.0.0"
// Install Boto as a Cake Addin #addin nuget:?package=Boto&version=1.0.0 // Install Boto as a Cake Tool #tool nuget:?package=Boto&version=1.0.0
Boto
Boto
is a C# library to build rich terminal
user interfaces and dashboards. It is heavily inspired by the Javascript
library blessed-contrib, the
Go
library termui and the Rust
library tui .
The library supports multiple backends:
The library is based on the principle of immediate rendering with intermediate buffers. This means that at each new frame you should build all widgets that are supposed to be part of the UI. While providing a great flexibility for rich and interactive UI, this may introduce overhead for highly dynamic content. So, the implementation try to minimize the number of ansi escapes sequences generated to draw the updated UI.
Moreover, the library does not provide any input handling nor any event system and you may rely on the previously cited libraries to achieve such features.
Demo
The demo shown in the gif can be run with all available backends.
# tutu
dotnet run --project ./sample/Demo --release -- --tick-rate 200
where tick-rate
is the UI refresh rate in ms.
The UI code is in samples/demo/ui.rs while the application state is in examples/demo/app.rs.
If the user interface contains glyphs that are not displayed correctly by your terminal, you may want to run the demo without those symbols:
Widgets
The library comes with the following list of widgets:
Click on each item to see the source of the example. Run the examples with with
cargo (e.g. to run the gauge example dotnet run --project ./samples/GaugeSample
), and quit by pressing q
.
License
Product | Versions 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. |
-
net8.0
- Cassowary.CSharp (>= 2.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Boto:
Package | Downloads |
---|---|
Boto.Tutu
Integration between Boto and Tutu libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.