mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 14:04:52 +02:00
Make the sprite map globally accessible from C code as well as python code
The lock was removed as the Python GIL is sufficient to serialize access to the SpriteMap structure.
This commit is contained in:
@@ -285,8 +285,7 @@ class TabBar:
|
||||
s.draw('…')
|
||||
break
|
||||
s.erase_in_line(0, False) # Ensure no long titles bleed after the last tab
|
||||
sprites = get_boss().sprites
|
||||
s.update_cell_data(sprites.backend, addressof(self.render_buf), True)
|
||||
s.update_cell_data(addressof(self.render_buf), True)
|
||||
self.cell_ranges = cr
|
||||
self.dirty = True
|
||||
glfw_post_empty_event()
|
||||
|
||||
Reference in New Issue
Block a user