Commit Graph

12 Commits

Author SHA1 Message Date
88bc8c5346 mod: restructure terminal structs Key, Position and Size
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 39s
2024-11-10 17:01:19 +01:00
8ae9129403 fix(widget): respect size for RawText and Spacer Widgets
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 36s
2024-11-10 16:02:49 +01:00
a201f2b653 mod: change widget interface Widget.content replaced with Widget.render
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 29s
The .resize `Event` has been adapted to include an _anchor_, which
provide the full necessary information for each widget where to render
on the screen with what requested size. Each Widget can then dynamically
decide how and what to render (i.e. provide placeholder text in case the
size is too small, etc.).
2024-11-10 15:53:28 +01:00
7872223c24 mod(main): improve ergonomics of example src/main.zig implementation
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 29s
2024-11-10 15:19:15 +01:00
b314ff7813 mod: replace Layout.content with Layout.render
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 30s
The App.Renderer is used for the new `Layout.render` method. Each layout
renders itself now with corresponding renderers which might only update
parts of the screen, etc.
2024-11-10 14:34:28 +01:00
b32556720e add(widget/Spacer): empty widget implementation
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 32s
2024-11-10 00:13:47 +01:00
04b6df691e doc: remove unnecessary whitespace and improve wording
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 30s
2024-11-09 23:06:53 +01:00
84882d2991 doc: initial readme documentation
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 29s
2024-11-09 21:47:52 +01:00
4e8487353e fix(typos): correct spelling mistakes
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 52s
2024-11-09 21:34:33 +01:00
c83cf530ce add(test): test execution into zterm test build
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 28s
2024-11-09 21:29:49 +01:00
6d389bcd4b initial commit
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 30s
2024-11-09 21:24:42 +01:00
ff58e7ef69 Initial commit 2024-11-09 19:07:10 +01:00