termio: simplify logging to remove undefined access

This commit is contained in:
Mitchell Hashimoto
2025-07-18 15:17:39 -07:00
parent 5ef36b39c4
commit 238015c171

View File

@ -310,7 +310,7 @@ fn drainMailbox(
// If we have a message we always redraw
redraw = true;
log.debug("mailbox message={}", .{message});
log.debug("mailbox message={s}", .{@tagName(message)});
switch (message) {
.crash => @panic("crash request, crashing intentionally"),
.change_config => |config| {