Support both crossterm and termion

This commit is contained in:
Dheepak Krishnamurthy 2020-07-27 02:34:44 -06:00
parent 7ad5483a92
commit c3a87b4f3f
3 changed files with 85 additions and 19 deletions

View file

@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["crossterm-backend"]
default = ["termion-backend"]
termion-backend = ["tui/termion", "termion"]
crossterm-backend = ["tui/crossterm", "crossterm"]