aboutsummaryrefslogtreecommitdiff
path: root/src/ghostty
diff options
context:
space:
mode:
Diffstat (limited to 'src/ghostty')
-rw-r--r--src/ghostty/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ghostty/mod.rs b/src/ghostty/mod.rs
index 9eda90d7..e2b592d2 100644
--- a/src/ghostty/mod.rs
+++ b/src/ghostty/mod.rs
@@ -372,6 +372,7 @@ fn cell_color_from_style_color(color: ffi::GhosttyStyleColor) -> Option<CellColo
pub struct RenderColors {
pub background: RgbColor,
pub foreground: RgbColor,
+ pub palette: [RgbColor; 256],
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
@@ -1870,6 +1871,7 @@ impl RenderState {
Ok(RenderColors {
background: colors.background.into(),
foreground: colors.foreground.into(),
+ palette: colors.palette.map(Into::into),
})
}