mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-27 13:01:13 +00:00

related #1512 This moves the canvas example to the apps and adds some interactivity via changing the marker by pressing enter.
10 lines
139 B
Markdown
10 lines
139 B
Markdown
# Canvas demo
|
|
|
|
This example shows how to render various shapes and a map on a canvas.
|
|
|
|
To run this demo:
|
|
|
|
```shell
|
|
cargo run -p canvas
|
|
```
|