Variable: ghostel-kitty-graphics-storage-limit

ghostel-kitty-graphics-storage-limit is a customizable variable defined in ghostel-kitty.el.

Value

335544320

Documentation

Kitty graphics image storage cap, in bytes, per terminal.

Caps how much memory libghostty's kitty-graphics image store can hold per ghostel buffer. Each transmitted image (PNG bytes or raw pixels) counts; libghostty evicts the oldest image when a new transmission would exceed this limit.

Set to 0 to disable kitty graphics entirely — image transmissions are then ignored and no storage is allocated. Useful on low-memory systems or for terminals you know won't display images.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-kitty.el
;;; Customization

(defcustom ghostel-kitty-graphics-storage-limit (* 320 1024 1024)  ; 320 MiB
  "Kitty graphics image storage cap, in bytes, per terminal.

Caps how much memory libghostty's kitty-graphics image store can
hold per ghostel buffer.  Each transmitted image (PNG bytes or raw
pixels) counts; libghostty evicts the oldest image when a new
transmission would exceed this limit.

Set to 0 to disable kitty graphics entirely — image transmissions
are then ignored and no storage is allocated.  Useful on low-memory
systems or for terminals you know won't display images."
  :type 'integer
  :group 'ghostel)