mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 19:01:27 +00:00
...
This commit is contained in:
parent
7d745f8024
commit
9fa882b329
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ class CharGrid:
|
|||
def update_sprite_map(self):
|
||||
spmap, sptext = self.last_render_data.cell_data
|
||||
psp = self.sprites.primary_sprite_position
|
||||
empty_val = psp(empty_cell)
|
||||
empty_val = psp(empty_cell) # Ensure the empty cell is 0, 0, 0
|
||||
for i, key in enumerate(sptext):
|
||||
f = i * 9
|
||||
spmap[f:f + 3] = empty_val if key is empty_cell else psp(key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue