mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
dsl: update docs
This commit is contained in:
parent
3e2b07158c
commit
0621793930
4 changed files with 39 additions and 94 deletions
|
|
@ -1,15 +1,4 @@
|
|||
# `tengri_tui`
|
||||
***tengri_tui*** is an implementation of [tengri_output](../output) and [tengri_input](../input)
|
||||
on top of [ratatui](https://ratatui.rs/) and [crossterm](https://github.com/crossterm-rs/crossterm).
|
||||
|
||||
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.
|
||||
tengri is published under [**AGPL3**](../LICENSE).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue