Add a new `harmony_tui` crate to initialize and run a text-based user interface (TUI) for the Harmony project using `ratatui` for rendering and `crossterm` for handling input. The `HarmonyTUI` struct initializes the terminal, enters a loop to render updates, and handles basic input events to exit. This commit sets up the foundation for further TUI development. |
||
|---|---|---|
| .. | ||
| demo | ||
| harmony | ||
| harmony_macros | ||
| harmony_tui | ||
| harmony_types | ||
| opnsense-config | ||
| opnsense-config-xml | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
Due to the current setup being a mix of separate repositories with gitignore and rust workspace, a few options are required for cargo-watch to have the desired behavior :
RUST_LOG=info cargo watch --ignore-nothing -w harmony -w private_repos/ -x 'run --bin nationtech'
This will run the nationtech bin (likely private_repos/nationtech/src/main.rs) on any change in the harmony or private_repos folders.