tmprl-ui 0.1.0

The window tree for tmprl: splits, tabs and focus, as rectangles
Documentation
  • Coverage
  • 46.67%
    14 out of 30 items documented0 out of 13 items with examples
  • Size
  • Source code size: 42.57 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 715.85 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 1s Average build duration of successful builds.
  • all releases: 1s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • arisros/tmprl
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • arisros

The window tree: splits, tabs and focus, expressed as rectangles.

There are no ratatui types here and no dependencies at all. A layout is a tree plus some arithmetic, and keeping the terminal out of it is what lets the rules, where focus goes when you press <C-w>l, what happens to a split's siblings when you close it, be tested as plain functions.

The model is vim's, because the people who want a Temporal client in their terminal mostly have vim's window commands in their fingers already. It also means the diff feature is not a feature: two workflow histories in a side-by-side split is the comparison, and it works for any two views rather than a pair somebody anticipated.