Experiment with TUI so we can render selections.

This commit is contained in:
Blaž Hrastnik 2020-09-07 18:10:08 +09:00
parent 67017e5336
commit 9ad40bc40b
3 changed files with 70 additions and 7 deletions

20
Cargo.lock generated
View file

@ -212,6 +212,12 @@ version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "631ae5198c9be5e753e5cc215e1bd73c2b466a3565173db433f52bb9d3e66dba"
[[package]]
name = "cassowary"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
[[package]]
name = "cc"
version = "1.0.59"
@ -420,6 +426,7 @@ dependencies = [
"helix-core",
"num_cpus",
"smol",
"tui",
]
[[package]]
@ -738,6 +745,19 @@ dependencies = [
"utf-8",
]
[[package]]
name = "tui"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a977b0bb2e2033a6fef950f218f13622c3c34e59754b704ce3492dedab1dfe95"
dependencies = [
"bitflags",
"cassowary",
"crossterm",
"unicode-segmentation",
"unicode-width",
]
[[package]]
name = "unicode-segmentation"
version = "1.6.0"