mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-05 12:57:50 +00:00
input: crash binding can configure which thread to crash
This commit is contained in:
@@ -268,6 +268,7 @@ fn drainMailbox(
|
||||
|
||||
log.debug("mailbox message={}", .{message});
|
||||
switch (message) {
|
||||
.crash => @panic("crash request, crashing intentionally"),
|
||||
.change_config => |config| {
|
||||
defer config.alloc.destroy(config.ptr);
|
||||
try io.changeConfig(data, config.ptr);
|
||||
|
||||
Reference in New Issue
Block a user