ConsoleUI.ConsoleMenu 2.0.16

A console base UI menu (old school) navigation using arrow keys

There is a newer version of this package available.
See the version list below for details.
Install-Package ConsoleUI.ConsoleMenu -Version 2.0.16
dotnet add package ConsoleUI.ConsoleMenu --version 2.0.16
<PackageReference Include="ConsoleUI.ConsoleMenu" Version="2.0.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConsoleUI.ConsoleMenu --version 2.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Console Menu

Build status
Nuget Version

A console base UI menu (old school) navigation using arrow keys

How it looks

Usage example

using ConsoleUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleMenuTest
{
	class Program
	{
		static void Main(string[] args)
		{
			var items = Enumerable.Range(1,20).Select(i => new ConsoleMenuItem($"Item{i}", itemCallback));
			var menu = new ConsoleMenu("This is a test menu", items);
			menu.RunConsoleMenu();
		}

		private static void itemCallback(string itemClicked)
		{
			Console.Clear();
			Console.WriteLine(itemClicked);
		}
	}
}

Console Menu

Build status
Nuget Version

A console base UI menu (old school) navigation using arrow keys

How it looks

Usage example

using ConsoleUI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleMenuTest
{
	class Program
	{
		static void Main(string[] args)
		{
			var items = Enumerable.Range(1,20).Select(i => new ConsoleMenuItem($"Item{i}", itemCallback));
			var menu = new ConsoleMenu("This is a test menu", items);
			menu.RunConsoleMenu();
		}

		private static void itemCallback(string itemClicked)
		{
			Console.Clear();
			Console.WriteLine(itemClicked);
		}
	}
}

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 108 6/4/2019
2.0.16 402 12/13/2017
2.0.15 250 12/13/2017
2.0.0 237 9/7/2017
1.0.0 274 9/5/2017