feat(event): add focus in/out event to SystemEvents
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 3m54s

feat(app): add minimal size argument for App.start

Read more corresponding inputs from stdin and convert them correctly
(i.e. in band window resizing), further keys (arrow keys, F-keys, etc.).
Respect the provided minimal size for the application which posts an
error message in case the size is smaller than the requested minimal
size.
This commit is contained in:
2024-12-25 12:53:39 +01:00
parent f7cd61d619
commit 3a989321fc
11 changed files with 214 additions and 18 deletions

View File

@@ -17,6 +17,7 @@ pub const SystemEvent = union(enum) {
err: Error,
resize: Size,
key: Key,
focus: bool,
};
pub fn mergeTaggedUnions(comptime A: type, comptime B: type) type {