TWidgets is a framework for building text-based widgets that can be displayed in the console.
It already implement a collection of Twidgets to start with. If they're not enought, you can build your own Twidgets in a few steps.
Input TWidgets are available for scenarios where you need user interaction.
Give it a try and share your experience.
Package Manager:
PM> Install-Package Twidgets
>> See more installation options
Example: Drawing a simple marquee presentation.
using Twidgets;
class Program
{
static void Main(string[] args){
var twidget=new Marquee("demo");
twidget.Items = new string[] {
"Welcome to Twidgets",
"<Get Started>"
};
Player.Mount(twidget);
}
}
Output:
┌─────────────────────────────┐
│ Welcome to TWidgets │
│ <Get Started> │
└─────────────────────────────┘