More IO events

This commit is contained in:
Mitchell Hashimoto
2022-11-04 22:13:37 -07:00
parent 1a7b9f7465
commit 989046a06c
5 changed files with 63 additions and 5 deletions

View File

@@ -163,6 +163,8 @@ fn drainMailbox(self: *Thread) !void {
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]),
}
}
}