skip to content
[readonly]

mesh-top's frame: the tab bar, the current tab's panes, the key help and last reply, the prompt; and the flush onto a blank screen that --print and the golden frames read

sh
$ sexc add @ajax/mesh-top-ui
  • total 3
  • drwxr-xr-x-../
  • drwxr-xr-x-Oct 27 04:12v/# 1 version
  • drwxr-xr-x-Oct 27 04:12files/# the files of 0.1.0
latest
0.1.0, published Oct 27 04:12 by ajax
owners
ajax
license
MIT
dependencies
@ajax/mesh-top-ui-kit ^0.1.0, @ajax/mesh-top-ui-mesh ^0.1.0, @ajax/mesh-top-ui-programs ^0.1.0, @ajax/mesh-top-ui-doom ^0.1.0, @ajax/mesh-top-ui-train ^0.1.0, @ajax/mesh-top-ui-infer ^0.1.0, @ajax/mesh-top-ui-http ^0.1.0, @ajax/mesh-top-ui-net ^0.1.0, @ajax/mesh-top-ui-load ^0.1.0, @ajax/mesh-top-ui-fleet ^0.1.0, @ajax/mesh-top-ui-render ^0.1.0
dependents
@ajax/mesh-top
keywords
mesh alphaos mesh-top tui ratatui
homepage
https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-top-ui
repository
https://github.com/thomasdavis/alpha-c-mesh
==> README.md <==
1# @ajax/mesh-top-ui
2
3mesh-top's frame: the tab bar, the current tab's panes, the key help and last reply, the prompt; and the flush onto a blank screen that --print and the golden frames read.
4
5Part of the C port of [alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh)'s `mesh-top`, the terminal
6dashboard for meshd clusters. Every frame it draws is checked against the Rust one, cell for cell
7(text, colours and modifiers): see @ajax/mesh-top-tests.
8
9## Ported from
10
11[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-top `src/ui.rs` (draw, the tab bar, the status bar, the prompt).
12
13## Tests
14
15@ajax/mesh-top-tests' golden replay draws it in 167 frames byte-identical to the Rust's (text and styles); @ajax/mesh-top-tests ports the Rust assertions on it.
16
17## Licence
18
19MIT. See the repository's LICENSE.