Function: consult--tofu-hide-in-minibuffer

consult--tofu-hide-in-minibuffer is a byte-compiled function defined in consult.el.

Signature

(consult--tofu-hide-in-minibuffer &rest _)

Documentation

Hide the tofus in the minibuffer.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--tofu-hide-in-minibuffer (&rest _)
  "Hide the tofus in the minibuffer."
  (let* ((min (minibuffer-prompt-end))
         (max (point-max))
         (pos max))
    (while (and (> pos min) (consult--tofu-p (char-before pos)))
      (decf pos))
    (when (< pos max)
      (add-text-properties pos max '(invisible t rear-nonsticky t cursor-intangible t)))))