Variable: ghostel-bold-color
ghostel-bold-color is a customizable variable defined in ghostel.el.
Value
nil
Documentation
Configure how bold text is colored.
If nil (default), bold text is left the color it would have without
the bold attribute, and a foreground on ghostel-bold still applies.
If bright, bold text uses the bright version of the current
foreground color (ANSI colors 0-7 map to 8-15).
If a string (hex color like "#RRGGBB"), bold text with the default foreground color uses this specific color. Bold text with a palette color (0-7) will use the bright version (8-15).
Matches Ghostty 1.2.0's bold-color configuration.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defcustom ghostel-bold-color nil
"Configure how bold text is colored.
If nil (default), bold text is left the color it would have without
the bold attribute, and a foreground on `ghostel-bold' still applies.
If `bright', bold text uses the bright version of the current
foreground color (ANSI colors 0-7 map to 8-15).
If a string (hex color like \"#RRGGBB\"), bold text with the default
foreground color uses this specific color. Bold text with a palette
color (0-7) will use the bright version (8-15).
Matches Ghostty 1.2.0's `bold-color' configuration."
:type '(choice (const :tag "None" nil)
(const :tag "Bright" bright)
(string :tag "Fixed color (#RRGGBB)"
:match (lambda (_widget val)
(and (stringp val)
(string-match-p
"\\`#[0-9A-Fa-f]\\{6\\}\\'" val)))))
:group 'ghostel
:set (lambda (sym val)
(set-default sym val)
(dolist (buf (buffer-list))
(with-current-buffer buf
(when (and (derived-mode-p 'ghostel-mode) ghostel--term)
(ghostel--apply-bold-config ghostel--term)
(let ((inhibit-read-only t)
(inhibit-modification-hooks t))
(ghostel--redraw ghostel--term t t))
(ghostel--schedule-link-detection)
(ghostel--apply-cursor-style))))))