diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-09-01 21:00:12 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-09-02 09:44:35 -0700 |
| commit | d499f7795bf9608e6aa0ec700fbd0879f0daeb4f (patch) | |
| tree | e7b8708d7476870b3f32e063b0142e91881ee0aa /src/termio/Thread.zig | |
| parent | 8f477b00da8a503ef597099119e6957f663587d9 (diff) | |
input: crash binding can configure which thread to crash
Diffstat (limited to 'src/termio/Thread.zig')
| -rw-r--r-- | src/termio/Thread.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/termio/Thread.zig b/src/termio/Thread.zig index d38c6a1ce..d72a10449 100644 --- a/src/termio/Thread.zig +++ b/src/termio/Thread.zig @@ -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); |
