Skip to content

Commit c575e03

Browse files
ototoMcdostone
authored andcommitted
fix: example: Colors(RGB): enable missing feature (#916)
The example requires not just `crossterm` feature, but also `palette`
1 parent 9265734 commit c575e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/examples/Style/colors_rgb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ two square-ish pixels in the space of a single rectangular terminal cell.
1010
```shell title=run example
1111
git clone https://github.com/ratatui/ratatui.git --branch latest
1212
cd ratatui
13-
cargo run --example=colors_rgb --features=crossterm
13+
cargo run --example=colors_rgb --features="crossterm palette"
1414
```
1515

1616
<!-- TODO update this to use the mov file -->

0 commit comments

Comments
 (0)