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

Input: make prompts optional #23

Open
fpesari opened this issue Nov 4, 2024 · 1 comment
Open

Input: make prompts optional #23

fpesari opened this issue Nov 4, 2024 · 1 comment

Comments

@fpesari
Copy link

fpesari commented Nov 4, 2024

Hello,

I have noticed that every input has a mandatory prompt:

image

But, for educational purposes, I prefer that the two operations (output and input) are separated, so I would like to have at the very least an option in the settings or a checkbox next to the prompt to hide it, so that the user input is gathered without showing any string.

As a workaround, I've tried putting both a whitespace and NBSP but it does not work, so I guess some string trimming is involved. U+2000 (" ") does work but it's not practical for my students who don't have a strong grasp of Unicode, and anyway I think this is more of a conceptual issue (it should be possible to have inputs without outputs) than simple not wanting any message, so the feature should be useful in general.

Thank you for listening, have a nice day.

@sake92
Copy link
Member

sake92 commented Nov 4, 2024

Makes sense, I will implement that.
Agree it is better to make it obvious.
Or at least it should be a toggle in settings.

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

No branches or pull requests

2 participants