mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
termio: simplify logging to remove undefined access
This commit is contained in:
@ -310,7 +310,7 @@ fn drainMailbox(
|
|||||||
// If we have a message we always redraw
|
// If we have a message we always redraw
|
||||||
redraw = true;
|
redraw = true;
|
||||||
|
|
||||||
log.debug("mailbox message={}", .{message});
|
log.debug("mailbox message={s}", .{@tagName(message)});
|
||||||
switch (message) {
|
switch (message) {
|
||||||
.crash => @panic("crash request, crashing intentionally"),
|
.crash => @panic("crash request, crashing intentionally"),
|
||||||
.change_config => |config| {
|
.change_config => |config| {
|
||||||
|
Reference in New Issue
Block a user