Function: ghostel-send-C-d

ghostel-send-C-d is an interactive and natively compiled function defined in ghostel.el.

Signature

(ghostel-send-C-d)

Documentation

Send EOF to the terminal.

Sends the raw byte so the tty line discipline sees EOF even when the foreground program has kitty keyboard mode active.

Key Bindings

ghostel-mode-map C-c C-d

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel-send-C-d ()
  "Send EOF to the terminal.
Sends the raw byte so the tty line discipline sees EOF even when
the foreground program has kitty keyboard mode active."
  (interactive)
  (ghostel--on-user-input)
  (ghostel--send-string "\x04"))