Open pkbehera opened 8 months ago
There's a slight complication with adding a "quit" command that mimics the behavior of "exit." Both "exit" and "help" are currently implemented as global commands, meaning they can be used within any submenu. Unfortunately, the library doesn't currently allow users to define their own global commands.
However, your request does highlight some valuable features that could be explored in the future:
I want to add a command
quit
that does just what the built-in commandexit
does.Users of my application complain that they get an error when they type
quit
!