To run an example, use zig build <exaple name>
, e.g. zig build demo
.
All examples were recorded using VHS. Corresponding tapes can be found in the images
folder.
To select a backend in the examples, add -Dbackend=<backend name>
to zig build
command. For example:
zig build demo -Dbackend=crossterm
See Backends
for more info.
Simple demo showcasing the library capabilities.
256 bit palette
Radio buttons and multiselect checkboxes
Updating UI from another thread via scheduleTask
Simple user input processing
How to handle key presses using a standalone function
How to implement a custom widget using FPS counter as an example. Can be used to debug Tuile event loop.