Variable: ghostel-enable-osc52
ghostel-enable-osc52 is a customizable variable defined in ghostel.el.
Value
nil
Documentation
Allow terminal applications to set the clipboard via OSC 52.
When non-nil, programs running in the terminal can copy text to the Emacs kill ring and system clipboard using OSC 52 escape sequences. This is useful for remote SSH sessions where the application cannot access the local clipboard directly.
Disabled by default for security: a malicious escape sequence in command output could silently overwrite your clipboard.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-enable-osc52 nil
"Allow terminal applications to set the clipboard via OSC 52.
When non-nil, programs running in the terminal can copy text to the
Emacs kill ring and system clipboard using OSC 52 escape sequences.
This is useful for remote SSH sessions where the application cannot
access the local clipboard directly.
Disabled by default for security: a malicious escape sequence in
command output could silently overwrite your clipboard."
:type 'boolean)