tengri/output
same mf who else 8ca90b9aa0 wip: refactor(tui): 1 error left
how do i flip buffer
2026-02-20 00:32:43 +02:00
..
proptest-regressions tabula rasa 2025-03-02 14:31:04 +02:00
src wip: refactor(tui): 1 error left 2026-02-20 00:32:43 +02:00
.scratch.rs wip: refactor(output): pen and paper ftw 2026-02-14 19:43:04 +02:00
Cargo.lock tek_ -> tengri_; reset to v0.1.0; add root reexporter package 2025-03-14 23:39:31 +02:00
Cargo.toml refactor(output,tui): fix errors, now there's more... 2026-02-17 04:09:10 +02:00
README.md output: more big refactors 2025-09-07 20:57:44 +03:00

tengri_output is an abstract interface layout framework.

it expresses the following notions:

  • space: Direction, Coordinate, Area, Size, Measure

  • output: Out, Draw, Content

    • the layout operators are generic over Draw and/or Content
    • the traits Draw and Content are generic over Out
    • implement Out to bring a layout to a new backend: see TuiOut in tengri_tui
  • layout:

    • conditionals: When, Either
    • iteration: Map
    • concatenation: Bsp
    • positioning: Align, Push, Pull
    • sizing: Fill, Fixed, Expand, Shrink, Min, Max
    • implement custom components (that may be backend-dependent): see tui_content in tengri_tui