-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
Allow aborting when presented a list of options #1800
Comments
Hmm, certainly it's an UX issue to some extent. Using ctrl+c is actually supposed to work. But it might not be evaluated until the current input is processed. So yes, I get your point. Would be nice to improve that. We should immedeately quit we crtl+c is pressed and we should support aborting with 'q' in every selection. |
Fixes gopasspw#1800 RELEASE_NOTES=[BUGFIX] Honor Ctrl+C Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Fixes gopasspw#1800 RELEASE_NOTES=[BUGFIX] Honor Ctrl+C Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Fixes #1800 RELEASE_NOTES=[BUGFIX] Honor Ctrl+C while waiting for user input Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Fixes gopasspw#1800 RELEASE_NOTES=[BUGFIX] Honor Ctrl+C while waiting for user input Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
Summary
When a numbered list is presenedt to allow selecting one of the available options there is no way to abort the command, other than killing the gopass process. Control-c doesn't affect gopass (although it does appear to be passed to gpg once an option is selected).
Steps To Reproduce
From your list of secrets, pick a substring that would match more than one secret.
Attempt to abort.
You could also use any other command that presents a list, for example gopass recipients add
Expected behavior
I would expect that control-c would abort gopass, and it would be nice to present an option ('q'?) to abort.
Environment
The text was updated successfully, but these errors were encountered: