feat(event): introduce .bell system event
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 16m37s

This commit is contained in:
2025-11-17 18:30:31 +01:00
parent 3b5507ec1e
commit 28c733352e
3 changed files with 13 additions and 0 deletions
+3
View File
@@ -13,6 +13,9 @@ pub const SystemEvent = union(enum) {
/// Usually no `Container` nor `Element` should act on that event, as it
/// only serves for event based loops to force a re-draw with a new `Event`.
resize,
/// Ring the terminal bell to notify the user. This `Event` is handled by
/// every `Container` and will not be passed through the container tree.
bell,
/// Error event to notify other containers about a recoverable error
err: struct {
/// actual error