Function: eca-chat-inline--read-prompt
eca-chat-inline--read-prompt is a natively compiled function defined
in eca-chat-inline.el.
Signature
(eca-chat-inline--read-prompt TARGET-DESC)
Documentation
Read the inline prompt from the minibuffer for TARGET-DESC.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-inline.el
(defun eca-chat-inline--read-prompt (target-desc)
"Read the inline prompt from the minibuffer for TARGET-DESC."
(let ((prompt (string-trim
(read-string (format "Inline prompt (%s): " target-desc)
nil 'eca-chat-inline--prompt-history))))
(when (string-empty-p prompt)
(user-error "Inline prompt is empty"))
prompt))