Function: claude-code-ide--terminal-send-escape
claude-code-ide--terminal-send-escape is a natively compiled function
defined in claude-code-ide.el.
Signature
(claude-code-ide--terminal-send-escape)
Documentation
Send escape key 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-escape ()
"Send escape key to the terminal in the current buffer."
(cond
((eq claude-code-ide-terminal-backend 'vterm)
(vterm-send-escape))
((eq claude-code-ide-terminal-backend 'eat)
(when eat-terminal
(eat-term-send-string eat-terminal "\e")))
((eq claude-code-ide-terminal-backend 'ghostel)
(claude-code-ide--terminal-send-string "\e"))
(t
(error "Unknown terminal backend: %s" claude-code-ide-terminal-backend))))