tengri/tui
2025-08-17 19:24:06 +03:00
..
examples wip: fix(dsl): maybe getting somewhere? 2025-06-21 19:20:39 +03:00
src dsl: exp -> expr, sym -> word 2025-08-17 19:24:06 +03:00
Cargo.toml
README.md

tengri_tui

the Tui struct (the engine) implements the tengri_input::Input and tengri_output::Output traits.

at launch, the Tui engine spawns two threads, a render thread and an input thread. (the application may spawn further threads, such as a jack thread.)

all threads communicate using shared ownership, Arc<RwLock> and Arc<Atomic>. the engine and application instances are expected to be wrapped in Arc<RwLock>; internally, those synchronization mechanisms may be used liberally.