Replies: 1 comment
-
|
Key-Action pair structure is available with v1.10.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I came up with an idea that will allow users of HelpConsole to use Console Application on dotnet even better.
You may may witness people are asked to press key to continue or choose available option as basic as (y/n) that stands for yes or no or pressing 'q' to quit.
Usually it is been made with asking key via
Console.KeyRead()and use if withif-elseconditions. What if HelpConsole provides easier solution for that?List<Tuple<ConsoleKey, Action>>will holdConsoleKey-Actionpairs and user will asked to press any key and the rest will be taken care of HelpConsole including, listing options, choosing options to call via provided Action values etc.If you have any idea or suggestion, feel free to do that.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions