branch: master
commit 713fd6d23e8ae04b97fa72472e94dc8ff52249db
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    Try to fix the previous commit
    
    * ivy.el (ivy--exhibit): Update.
    
    Sometimes the cursor randomly moves to the start of the read-only prompt
    and it's impossible to move it.
---
 ivy.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index 0e1d141..7420afe 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1454,7 +1454,8 @@ Insert .* between each char."
   "Insert Ivy completions display.
 Should be run via minibuffer `post-command-hook'."
   (when (memq 'ivy--exhibit post-command-hook)
-    (constrain-to-field nil (point-max))
+    (let ((inhibit-field-text-motion nil))
+      (constrain-to-field nil (point-max)))
     (setq ivy-text (ivy--input))
     (if (ivy-state-dynamic-collection ivy-last)
         ;; while-no-input would cause annoying

Reply via email to