Update README.md

This commit is contained in:
Jakub Stachurski 2025-08-14 21:59:08 +00:00 committed by GitHub
parent 527ae226d9
commit fcf53471fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,10 @@
# Ratatui demo.
# Ratatui demo
A more universal way to draw ratatui applications, made for creating [demo's](https://en.wikipedia.org/wiki/Demoscene).
I created this so people could add demo's to the ssh signon service for SNT.
For more details see [this repo](https://gitlab.snt.utwente.nl/jakub/memadd).
For more details see [this repo](https://gitlab.snt.utwente.nl/jakub/memadd).
# How to use.
## How to use
Later, I might figure out the cargo template thing, but this would also imply making a library for the trait, which I am too lazy to do right now.
For now the way you can use it is to clone the repo and start writing your demo in [`app.rs`](./src/app.rs).
@ -12,7 +12,7 @@ If you need to know what each trait method does you can look it up in [`main.rs`
To run your demo, just type: `cargo run`
# How to share.
## How to share
Since right now the whole demo is self-contained, you can just share the links to your repo.
If the person you are sharing with has the same OS and CPU, you can also send the executable in `target/debug/ratatui-demo`, since rust is statically linked.