branch: master
commit d8d7ed45f07b52ab63eca444f0e6fa03747fab9e
Author: Julien Wietrich <[email protected]>
Commit: Julien Wietrich <[email protected]>
Fix minibuffer collapses to one line
It happens since commit SHA:d374afea36df19b5d6b654adc6018b25d6c1d8f2
when resize-mini-windows is set to true.
It also happens when resize-mini-windows is set to 'grow-only (default)
and multiple frames are open.
(Although SHA:435f2b6edfe3ab517c9eda56c6351f0bcfdf3845 work around it)
Temporarily bind `resize-mini-windows' to nil before calling
`read-from-minibuffer'.
Fix #237 and #229
It might fix #77 although this need to be checked as I cannot reproduce it.
---
ivy.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ivy.el b/ivy.el
index 63b5b74..375ab79 100644
--- a/ivy.el
+++ b/ivy.el
@@ -890,6 +890,7 @@ candidates with each input."
(let* ((hist (or history 'ivy-history))
(minibuffer-completion-table collection)
(minibuffer-completion-predicate predicate)
+ (resize-mini-windows nil)
(res (read-from-minibuffer
prompt
(ivy-state-initial-input ivy-last)