diff --git a/kitty/boss.py b/kitty/boss.py index 9f069dece..b78c465ae 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -60,10 +60,6 @@ def remove(self, timer): return _Timers.remove_event(self, timer) -def wakeup_for_cursor_blink_render(): - pass - - class DumpCommands: # {{{ def __init__(self, args): @@ -408,7 +404,7 @@ def render(self): n = t // d draw_cursor = n % 2 == 0 self.ui_timers.add_if_before( - ((n + 1) * d / 1000) - now, wakeup_for_cursor_blink_render) + ((n + 1) * d / 1000) - now, None) if draw_cursor: with self.cursor_program: active.char_grid.render_cursor(