Skip to content

Commit e3e02c7

Browse files
committed
Fix #2180
1 parent 24e17cb commit e3e02c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

kitty/cell_vertex.glsl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,10 @@ void main() {
220220
// Selection and cursor
221221
bg = choose_color(float(is_selected & ONE), color_to_vec(highlight_bg), bg);
222222
background = choose_color(cell_has_block_cursor, color_to_vec(cursor_color), bg);
223+
#if !defined(TRANSPARENT) && defined(SPECIAL)
224+
float is_special_cell = cell_has_block_cursor + float(is_selected & ONE);
225+
bg_alpha = step(0.5, is_special_cell);
226+
#endif
223227
#endif
224228

225229
#endif

0 commit comments

Comments
 (0)