fix: deinit tui.mouse_idle_timer after it fires
This commit is contained in:
parent
26ef53747d
commit
22f838a2da
1 changed files with 2 additions and 0 deletions
|
@ -318,6 +318,8 @@ fn receive_safe(self: *Self, from: tp.pid_ref, m: tp.message) !void {
|
|||
return;
|
||||
|
||||
if (try m.match(.{"MOUSE_IDLE"})) {
|
||||
if (self.mouse_idle_timer) |*t| t.deinit();
|
||||
self.mouse_idle_timer = null;
|
||||
try self.clear_hover_focus();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue