Function: corfu-send
corfu-send is an interactive and byte-compiled function defined in
corfu.el.
Signature
(corfu-send)
Documentation
Insert current candidate and send it when inside comint or eshell.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu.el
(defun corfu-send ()
"Insert current candidate and send it when inside comint or eshell."
(interactive)
(corfu-insert)
(cond
((and (derived-mode-p 'eshell-mode) (fboundp 'eshell-send-input))
(eshell-send-input))
((and (derived-mode-p 'comint-mode) (fboundp 'comint-send-input))
(comint-send-input))))