-
Notifications
You must be signed in to change notification settings - Fork 381
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
Improve prompt support in JJ #2852
Conversation
3405d47
to
079a0c2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for next
& prev
. I defer to martin for the new test utilities/mini framework.
Idle thought (for future PRs maybe): I was thinking of trying something like https://github.com/console-rs/dialoguer for this, which might allow a nicer UI for a selection list. A simpler version is almost certainly better at first, though, and who knows how polished that library actually is. |
3bbac73
to
a636ef8
Compare
Prompts are barely used in the CLI currently but they are very useful in extensions with more complex workflows.
Resolves part of issue jj-vcs#2126
9fcbecb
to
a3b6888
Compare
Adds
ui.prompt...()
functions and uses them to fix issue #2126Checklist
If applicable:
CHANGELOG.md