Skip to content

Commit

Permalink
feat: Support ratatui (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckaznable authored Mar 22, 2023
1 parent ed29214 commit 217d642
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ autoexamples = true
default = ["crossterm"]

[dependencies]
crossterm = { version = "0.25.0", optional = true }
crossterm = { version = "0.26.0", optional = true }
serde = { version = "1.0.145", optional = true, features = ["derive"] }
termion = { version = "1.5.6", optional = true }
unicode-width = "0.1.4"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

A TUI input library supporting multiple backends.

This crate can be used with [tui-rs](https://github.com/fdehau/tui-rs).
This crate can be used with [tui-rs](https://github.com/fdehau/tui-rs) and [ratatui](https://github.com/tui-rs-revival/ratatui).

For people using `tui-rs` use version `v0.6.*` for people migrating to `ratatui` use latest version.

## Install

Expand Down
4 changes: 2 additions & 2 deletions examples/tui-rs-input/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
crossterm = "0.25.0"
tui = { version = "0.19.0", features = ["crossterm"] }
crossterm = "0.26.0"
tui = { package = "ratatui", version = "0.20.0", features = ["crossterm"] }
tui-input = { path = "../../" }
unicode-width = "0.1.10"

0 comments on commit 217d642

Please sign in to comment.