mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
When reloading config also reload all GPU data
Fixes some config options such as text_composition_strategy not being reloaded.
This commit is contained in:
@@ -816,8 +816,10 @@ class Window:
|
||||
if val:
|
||||
self.refresh()
|
||||
|
||||
def refresh(self) -> None:
|
||||
def refresh(self, reload_all_gpu_data: bool = False) -> None:
|
||||
self.screen.mark_as_dirty()
|
||||
if reload_all_gpu_data:
|
||||
self.screen.reload_all_gpu_data()
|
||||
wakeup_io_loop()
|
||||
wakeup_main_loop()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user