fix(renderer): load linearized fg color for cursor cell (#9695)

It's clear from the surrounding code that the RGB values returned from
`cell_text_vertex` are expected to be linearized. This was not the case
for the cursor cell, resulting in the cursor text being too bright when
using `cursor-text = cell-background`.

Fixes #8353/#9138.

xref #8960, which would also fixe this issue, but I don't know where
that's heading
pull/9698/head
Mitchell Hashimoto 2025-11-24 21:22:02 -08:00 committed by GitHub
commit ee5dde795a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -668,7 +668,7 @@ vertex CellTextVertexOut cell_text_vertex(
out.color = load_color(
uniforms.cursor_color,
uniforms.use_display_p3,
false
true
);
}