mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-28 13:31:14 +00:00

Add a top level examples folder for more app-ish examples Move the demo example into the top level folder. --------- Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
26 lines
476 B
Markdown
26 lines
476 B
Markdown
# Demo example
|
|
|
|
This is the original demo that was developed for Tui-rs (the library that Ratatui was forked from).
|
|
|
|

|
|
|
|
This example is available for each backend. To run it:
|
|
|
|
## crossterm
|
|
|
|
```shell
|
|
cargo run -p demo
|
|
```
|
|
|
|
## termion
|
|
|
|
```shell
|
|
cargo run -p demo --no-default-features --features termion
|
|
```
|
|
|
|
## termwiz
|
|
|
|
```shell
|
|
cargo run -p demo --no-default-features --features termwiz
|
|
```
|