Function: ghostel-send-C-c
ghostel-send-C-c is an interactive and natively compiled function
defined in ghostel.el.
Signature
(ghostel-send-C-c)
Documentation
Send interrupt signal to the terminal.
Sends the raw byte so the tty line discipline raises SIGINT even when the foreground program has kitty keyboard mode active.
Key Bindings
ghostel-mode-map C-c C-c
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
;;; Terminal control commands (C-c prefix)
(defun ghostel-send-C-c ()
"Send interrupt signal to the terminal.
Sends the raw byte so the tty line discipline raises SIGINT even
when the foreground program has kitty keyboard mode active."
(interactive)
(ghostel--on-user-input)
(ghostel--send-string "\x03"))