Update README.md and fix the bug that demo2 cannot run (#595)

Fixes https://github.com/ratatui-org/ratatui/issues/594
This commit is contained in:
isinstance 2023-10-26 05:01:04 +08:00 committed by GitHub
parent a2f2bd5df5
commit 9f37100096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ images themselves are stored in a separate git branch to avoid bloating the main
This is the demo example from the main README and crate page. Source: [demo2](./demo2/). This is the demo example from the main README and crate page. Source: [demo2](./demo2/).
```shell ```shell
cargo run --example=demo2 --features=crossterm cargo run --example=demo2 --features="crossterm widget-calendar"
``` ```
![Demo2][demo2.gif] ![Demo2][demo2.gif]