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

Ivy completion buffer is broken when created with active y-or-n-p prompt #2230

Closed
kurnevsky opened this issue Sep 10, 2019 · 1 comment
Closed

Comments

@kurnevsky
Copy link

@kurnevsky kurnevsky commented Sep 10, 2019

Try to execute the following example:

(progn
  (run-with-timer 1 nil (lambda () (ivy-completing-read "b" '("a" "b"))))
  (y-or-n-p "a"))

When ivy buffer popups it can't accept any input - all keys are undefined.

@abo-abo
Copy link
Owner

@abo-abo abo-abo commented Oct 11, 2019

Thanks, please test.

I think the situation is quite rare, so the "fix" is to cancel y-or-n-p. Unfortunately, ivy-read has to be restarted manually.

astoff pushed a commit to astoff/swiper that referenced this issue Jan 1, 2021
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