feat: update thespian and add delay_send_cancellable tags
This commit is contained in:
parent
c01576412a
commit
336ea8684e
4 changed files with 5 additions and 5 deletions
|
@ -18,8 +18,8 @@
|
|||
.hash = "1220220dbc7fe91c1c54438193ca765cebbcb7d58f35cdcaee404a9d2245a42a4362",
|
||||
},
|
||||
.thespian = .{
|
||||
.url = "https://github.com/neurocyte/thespian/archive/9462ef22c6c4b6dd4ca049dc15b2bae6863260f6.tar.gz",
|
||||
.hash = "122019bbccfb6ea58794395b20d5dee87b6fd829cc4c85f0a4e487afc6a6aeedaa71",
|
||||
.url = "https://github.com/neurocyte/thespian/archive/426a012d8285f235897a1a83884c752fc1fd36b0.tar.gz",
|
||||
.hash = "12208545b4df3be0a33609d8686770c58cc8bbb8284fe4f168e9b42b01350cec82ab",
|
||||
},
|
||||
.themes = .{
|
||||
.url = "https://github.com/neurocyte/flow-themes/releases/download/master-803da089c5a0fc3b4513a7c34afe9bdaff83efdc/flow-themes.tar.gz",
|
||||
|
|
|
@ -96,5 +96,5 @@ fn update_tick_timer(self: *Self) void {
|
|||
t.deinit();
|
||||
self.tick_timer = null;
|
||||
}
|
||||
self.tick_timer = tp.self_pid().delay_send_cancellable(self.allocator, delay, .{"CLOCK"}) catch null;
|
||||
self.tick_timer = tp.self_pid().delay_send_cancellable(self.allocator, "clock.tick_timer", delay, .{"CLOCK"}) catch null;
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ fn update_clear_timer(self: *Self) !void {
|
|||
t.deinit();
|
||||
self.clear_timer = null;
|
||||
}
|
||||
self.clear_timer = try tp.self_pid().delay_send_cancellable(self.msg.allocator, delay, .{ "MINILOG", self.msg_counter });
|
||||
self.clear_timer = try tp.self_pid().delay_send_cancellable(self.msg.allocator, "minilog.clear_timer", delay, .{ "MINILOG", self.msg_counter });
|
||||
}
|
||||
|
||||
fn set(self: *Self, msg: []const u8, level: Level) !void {
|
||||
|
|
|
@ -192,7 +192,7 @@ fn update_mouse_idle_timer(self: *Self) void {
|
|||
t.deinit();
|
||||
self.mouse_idle_timer = null;
|
||||
}
|
||||
self.mouse_idle_timer = tp.self_pid().delay_send_cancellable(self.a, delay, .{"MOUSE_IDLE"}) catch return;
|
||||
self.mouse_idle_timer = tp.self_pid().delay_send_cancellable(self.a, "tui.mouse_idle_timer", delay, .{"MOUSE_IDLE"}) catch return;
|
||||
}
|
||||
|
||||
fn receive(self: *Self, from: tp.pid_ref, m: tp.message) tp.result {
|
||||
|
|
Loading…
Add table
Reference in a new issue