Function: ghostel-send-string
ghostel-send-string is a natively compiled function defined in
ghostel.el.
Signature
(ghostel-send-string STRING)
Documentation
Send STRING to the terminal process in the current ghostel buffer.
Signals a user-error when called outside a ghostel buffer. STRING
is passed through unchanged, including any embedded control
characters; callers are responsible for UTF-8 encoding if needed.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
;;; Public input API
(defun ghostel-send-string (string)
"Send STRING to the terminal process in the current ghostel buffer.
Signals a `user-error' when called outside a ghostel buffer. STRING
is passed through unchanged, including any embedded control
characters; callers are responsible for UTF-8 encoding if needed."
(ghostel--ensure-ghostel-buffer)
(ghostel--on-user-input)
(ghostel--send-string string))