add(examples/layout): vertical, horizontal and grid
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 39s
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 39s
This commit is contained in:
21
README.md
21
README.md
@@ -5,6 +5,19 @@
|
||||
> [!NOTE]
|
||||
> Only builds using the master version are tested to work.
|
||||
|
||||
## Demo
|
||||
|
||||
Clone this repository and run `zig build --help` to see the available examples. Run a given example as follows:
|
||||
|
||||
```sh
|
||||
zig build --release=safe -Dexample=input run
|
||||
```
|
||||
|
||||
> [!NOTE]
|
||||
> Every example application can be quitted using `ctrl+c`.
|
||||
|
||||
See the [wiki](https://gitea.yves-biener/yves-biener/zterm) for a showcase of the examples and the further details.
|
||||
|
||||
## Usage
|
||||
|
||||
To add or update `zterm` as a dependency in your project run the following command:
|
||||
@@ -24,8 +37,6 @@ const zterm: *Dependency = b.dependency("zterm", .{
|
||||
exe.root_module.addImport("zterm", zterm.module("zterm"));
|
||||
```
|
||||
|
||||
For an example you can take a look at [build.zig](build.zig) for an example.
|
||||
|
||||
---
|
||||
## Design Goals
|
||||
|
||||
@@ -114,9 +125,9 @@ the primary use-case for myself to create this library in the first place.
|
||||
- [ ] Inline rendering (**later**)
|
||||
- [ ] Examples
|
||||
- [ ] Layouts
|
||||
- [ ] vertical
|
||||
- [ ] horizontal
|
||||
- [ ] grid
|
||||
- [x] vertical
|
||||
- [x] horizontal
|
||||
- [x] grid
|
||||
- [ ] mixed (some sort of form)
|
||||
- [ ] Elements
|
||||
- [ ] Button
|
||||
|
||||
Reference in New Issue
Block a user