Skip to content

Commit

Permalink
rename placepop example to more obvious popup_placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Oct 1, 2023
1 parent c03b453 commit c84c0eb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@ name = "modal"
required-features = ["crossterm"]

[[example]]
name = "ratatui_minimal"
required-features = ["ratatui-crossterm"]
name = "popup_placeholder"
required-features = ["crossterm"]

[[example]]
name = "ratatui_placepop"
name = "ratatui_minimal"
required-features = ["ratatui-crossterm"]

[[example]]
name = "placepop"
required-features = ["crossterm"]
name = "ratatui_popup_placeholder"
required-features = ["ratatui-crossterm"]

[[example]]
name = "ratatui_editor"
Expand Down
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ cargo run --example modal

Simple modal text editor like `vi`.

### [`placepop`](./examples/variable.rs)
### [`popup_placeholder`](./examples/popup_placeholder.rs)

```sh
cargo run --example popup_placeholder
```

Popup textarea with a placeholder text.

Expand All @@ -112,8 +116,8 @@ cargo run --example ratatui_editor --no-default-features --features=ratatui-cros
# ratatui version of `termion` example
cargo run --example ratatui_termion --no-default-features --features=ratatui-termion

# ratatui version of `placepop` example
cargo run --example ratatui_placepop --no-default-features --features=ratatui-crossterm
# ratatui version of `popup_placeholder` example
cargo run --example ratatui_popup_placeholder --no-default-features --features=ratatui-crossterm
```

## Installation
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c84c0eb

Please sign in to comment.