Function: claude-code-ide--terminal-send-string
claude-code-ide--terminal-send-string is a natively compiled function
defined in claude-code-ide.el.
Signature
(claude-code-ide--terminal-send-string STRING)
Documentation
Send STRING to the terminal in the current buffer.
Source Code
;; Defined in /nix/store/yjvbhwl7p6zrbw9xlnni7y4hra8sa3pl-emacs-packages-deps/share/emacs/site-lisp/claude-code-ide.el
(defun claude-code-ide--terminal-send-string (string)
"Send STRING to the terminal in the current buffer."
(cond
((eq claude-code-ide-terminal-backend 'vterm)
(vterm-send-string string))
((eq claude-code-ide-terminal-backend 'eat)
(when eat-terminal
(eat-term-send-string eat-terminal string)))
((eq claude-code-ide-terminal-backend 'ghostel)
(if (fboundp 'ghostel-send-string)
(ghostel-send-string string)
(when-let* ((process (get-buffer-process (current-buffer))))
(process-send-string process string))))
(t
(error "Unknown terminal backend: %s" claude-code-ide-terminal-backend))))