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

Style Choice: Using confirm() when deleting a bookmark #777

Merged
merged 1 commit into from Dec 6, 2017

Conversation

lifecrisis
Copy link
Contributor

This PR may warrant some debate. I think we should use confirm() whenever possible... This is a pilot of that idea. I could see how someone would think a custom menu is better, though.

@PhilRunninger, let me know if you think these kinds of changes are a good idea!

I contend that we should use confirm() whenever possible.  It makes
the code cleaner and uses a builtin feature rather than a custom
one.  Doing it the "Vim way" is always preferable in my mind.
@PhilRunninger
Copy link
Member

I like it. It feels like confirm() is specifically intended for this sort of thing. Not to say getchar() can't do it, but I like the way confirm() handles both the question and the answer.

@lifecrisis lifecrisis merged commit 8cbea51 into preservim:master Dec 6, 2017
@lifecrisis lifecrisis deleted the bm-confirm branch December 6, 2017 16:10
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.

None yet

2 participants