Files
ghostty/src/terminal
Mitchell Hashimoto ecc55b94c8 libghostty: add resolved bg_color and fg_color to cells API (#11735)
Fixes #11705

Add bg_color and fg_color options to GhosttyRenderStateRowCellsData that
resolve the final RGB color for a cell, flattening the multiple possible
sources. For background, this handles content-tag bg_color_rgb,
content-tag bg_color_palette (looked up in the palette), and the style
bg_color. For foreground, this resolves palette indices through the
palette; bold color handling is not applied and is left to the caller.

Both return GHOSTTY_INVALID_VALUE when no explicit color is set, in
which case the caller should fall back to whatever default color it
wants (e.g. the terminal background/foreground).
2026-03-22 06:44:35 -07:00
..
2026-01-08 13:50:43 -06:00
2025-10-24 07:26:04 -07:00
2025-11-27 13:37:53 -08:00
2026-02-19 20:17:47 -08:00
2025-10-23 21:10:25 -07:00
2025-12-03 13:27:36 -08:00
2025-03-12 09:55:52 -07:00
2026-03-17 16:21:34 -07:00
2026-03-16 16:01:53 -07:00
2025-11-27 13:37:53 -08:00