Skip to content

Measter/CLIMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLIMenu is a menu system for command line applications.

The menu will resize itself to the required screen space when rendering, but a
minimum and maximum size may be specified. If the number of items is longer than
the maximum height, a scrolling list will be used. If the item text length is
longer than the maximum width, it will be truncated with ellipses.

Included with the system is an abstract MenuItem class, which all menu items
should inherit from. This class ensures that the item objects have the proper
event setup. When items are drawn on a menu, the .ToString() function is called,
so that's where you should program the output.

Additionally, you can specify the border characters, selection indicator, and the
scroll bar character. You can also choose to hide the selection indicator.

The menu also has PreRender and PostRender events for when you need to render
Additional data to the screen.

About

A command line menu system written in C#.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages