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

Add text-only prompt element for console-ui #1138

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

quintesse
Copy link
Contributor

@quintesse quintesse commented Dec 19, 2024

Fixes #1136

First stab at implementing this new text-only element. It won't win any beauty contests, but it works. WDYT @mattirn ?

NB: I considered creating a TextPrompt and using ConsoleUIItemIF for the lines of the Text element, but between the fact that TextPrompt would be mostly empty (because we're not actually asking for input) , the fact that items only deal with Strings, not AttributedStrings and the fact that each XxxxPrompt only displays a single line of result it just wasn't a good fit.

@mattirn mattirn added this to the 3.28.1 milestone Dec 19, 2024
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

Successfully merging this pull request may close these issues.

Add text-only prompt element for console-ui
2 participants