Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt label access #203

Closed
guestieng opened this issue May 9, 2023 · 3 comments
Closed

Prompt label access #203

guestieng opened this issue May 9, 2023 · 3 comments

Comments

@guestieng
Copy link

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.

@daniele77
Copy link
Owner

Thank you for your suggestion.
Is this a duplicate of issue #199 ?

@guestieng
Copy link
Author

Yes, indeed, this seems to be the case.

@daniele77
Copy link
Owner

Ok, I'm gonna close this issue and keep #199
It's already planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants