Need to reset `counsel-grep-last-line' each time the input changes.
That var should only be used for cycling the complete cands, not during
input updates.
(ivy--set-candidates
(ivy--sort-maybe
cands))
(ivy--set-candidates
(ivy--sort-maybe
cands))
+ (setq counsel-grep-last-line nil)
(setq counsel--async-duration
(time-to-seconds (time-since counsel--async-start)))
(let ((re (funcall ivy--regex-function ivy-text)))
(setq counsel--async-duration
(time-to-seconds (time-since counsel--async-start)))
(let ((re (funcall ivy--regex-function ivy-text)))