summaryrefslogtreecommitdiff
path: root/src/termio/Thread.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-03-19 10:09:17 -0700
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-03-19 10:09:17 -0700
commit8f0be3ad9efd289f0bc27422fcd2bebd1e7f5bdd (patch)
tree4dd8c5e162704ac4ef4a453d26639e38c1428bdc /src/termio/Thread.zig
parent7eda21d5449305b4759c15a2aef25f62904fb6cb (diff)
termio: use DerivedConfig
Diffstat (limited to 'src/termio/Thread.zig')
-rw-r--r--src/termio/Thread.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/termio/Thread.zig b/src/termio/Thread.zig
index b1c03cc6e..72656f00e 100644
--- a/src/termio/Thread.zig
+++ b/src/termio/Thread.zig
@@ -150,6 +150,7 @@ fn drainMailbox(self: *Thread) !void {
log.debug("mailbox message={}", .{message});
switch (message) {
+ .change_config => |config| try self.impl.changeConfig(config),
.resize => |v| self.handleResize(v),
.clear_screen => |v| try self.impl.clearScreen(v.history),
.write_small => |v| try self.impl.queueWrite(v.data[0..v.len]),