Actually, we'll manage selection and viewports on the windowing thread

This commit is contained in:
Mitchell Hashimoto
2022-11-04 22:32:06 -07:00
parent 989046a06c
commit 5cb6ebe34d
4 changed files with 43 additions and 50 deletions

View File

@@ -162,8 +162,6 @@ fn drainMailbox(self: *Thread) !void {
log.debug("mailbox message={}", .{message});
switch (message) {
.resize => |v| try self.impl.resize(v.grid_size, v.screen_size),
.clear_selection => try self.impl.clearSelection(),
.scroll_viewport => |v| try self.impl.scrollViewport(v),
.small_write => |v| try self.impl.queueWrite(v.data[0..v.len]),
}
}