Prompt label access
guestieng opened this issue · 3 comments
guestieng commented
A little but handy feature request:
making it possible to allow for a change of the command prompt label after initialization.
All that would be needed,
was to, e.g., make public the members Cli::RootMenu() and Menu::prompt, with the latter being made non-const, of course.
This change would, e.g., allow for displaying different "states" in the prompt label, such as a logging-plus-input mode or distinguished sub-cli's in general.
guestieng commented
Yes, indeed, this seems to be the case.