tengri/tui
2025-04-30 23:48:33 +03:00
..
examples ops: fix Map::east/south with example 2025-04-25 19:01:02 +03:00
src fix(tui): add feature guard 2025-04-30 23:48:33 +03:00
Cargo.toml 0.3.0: TrimString and TrimStringRef 2025-03-18 01:04:25 +02:00
README.md tek_ -> tengri_; reset to v0.1.0; add root reexporter package 2025-03-14 23:39:31 +02:00

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.