Variable: ghostel-kitty-graphics-mediums
ghostel-kitty-graphics-mediums is a customizable variable defined in
ghostel-kitty.el.
Value
(file temp-file shared-mem)
Documentation
Image-loading mediums to enable for the Kitty graphics protocol.
The direct medium (base64 inline, used by timg and yazi) is always
enabled. The others let the program name data on the local machine:
- file: a local file, read by the terminal (broot PNG previews)
- temp-file: a temp file, read and unlinked (broot, ranger)
- shared-mem: a POSIX shared-memory region
The default matches Ghostty and kitty. A program running remotely
(SSH, tmux passthrough) can use these mediums to make ghostel display
a local file; set this to nil to accept inline data only.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-kitty.el
(defcustom ghostel-kitty-graphics-mediums '(file temp-file shared-mem)
"Image-loading mediums to enable for the Kitty graphics protocol.
The direct medium (base64 inline, used by timg and yazi) is always
enabled. The others let the program name data on the local machine:
- file: a local file, read by the terminal (broot PNG previews)
- temp-file: a temp file, read and unlinked (broot, ranger)
- shared-mem: a POSIX shared-memory region
The default matches Ghostty and kitty. A program running remotely
\(SSH, tmux passthrough) can use these mediums to make ghostel display
a local file; set this to nil to accept inline data only."
:type '(set (const :tag "Local file medium" file)
(const :tag "Temp-file medium" temp-file)
(const :tag "Shared-memory medium" shared-mem))
:group 'ghostel)