Variable: ghostel-line-spacing

ghostel-line-spacing is a customizable variable defined in ghostel.el.

Value

0

Documentation

Additional vertical space below each terminal row.

An integer is extra pixels; a float is a fraction of the default line height. Applied buffer-locally as line-spacing. The cons form of line-spacing is not supported. Non-zero values leave gaps in everything that tiles vertically: box-drawing borders, block characters and kitty graphics image rows.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-line-spacing 0
  "Additional vertical space below each terminal row.
An integer is extra pixels; a float is a fraction of the default line height.
Applied buffer-locally as `line-spacing'.  The cons form of `line-spacing' is
not supported.  Non-zero values leave gaps in everything that tiles vertically:
box-drawing borders, block characters and kitty graphics image rows."
  :type '(choice (integer :tag "Extra pixels below each line")
                 (float :tag "Fraction of default line height"))
  :initialize #'custom-initialize-default
  :set (lambda (sym val)
         (set-default sym val)
         (dolist (buf (buffer-list))
           (with-current-buffer buf
             (when (derived-mode-p 'ghostel-mode)
               (setq-local line-spacing val)
               (dolist (window (get-buffer-window-list buf nil t))
                 (ghostel--adjust-size window t)))))))