Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
lib: Use tui-textarea with termion
Erik Kundt committed 1 year ago
commit 842d201b5bc34d36f440ce31d9351792dcc2ed27
parent ff1d329d1aa8640a05378b77870b29079c14105f
2 files changed +2 -40
modified Cargo.lock
@@ -479,31 +479,6 @@ dependencies = [
]

[[package]]
-
name = "crossterm"
-
version = "0.27.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df"
-
dependencies = [
-
 "bitflags 2.4.1",
-
 "crossterm_winapi",
-
 "libc",
-
 "mio",
-
 "parking_lot",
-
 "signal-hook",
-
 "signal-hook-mio",
-
 "winapi",
-
]
-

-
[[package]]
-
name = "crossterm_winapi"
-
version = "0.9.1"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
-
dependencies = [
-
 "winapi",
-
]
-

-
[[package]]
name = "crypto-bigint"
version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1193,7 +1168,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09"
dependencies = [
 "libc",
-
 "log",
 "wasi 0.11.0+wasi-snapshot-preview1",
 "windows-sys 0.48.0",
]
@@ -1905,7 +1879,6 @@ dependencies = [
 "bitflags 2.4.1",
 "cassowary",
 "compact_str",
-
 "crossterm",
 "indoc",
 "itertools",
 "lru",
@@ -2138,17 +2111,6 @@ dependencies = [
]

[[package]]
-
name = "signal-hook-mio"
-
version = "0.2.3"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af"
-
dependencies = [
-
 "libc",
-
 "mio",
-
 "signal-hook",
-
]
-

-
[[package]]
name = "signal-hook-registry"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2762,8 +2724,8 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3e38ced1f941a9cfc923fbf2fe6858443c42cc5220bfd35bdd3648371e7bd8e"
dependencies = [
-
 "crossterm",
 "ratatui",
+
 "termion 2.0.3",
 "unicode-width",
]

modified Cargo.toml
@@ -44,4 +44,4 @@ textwrap = { version = "0.16.0" }
thiserror = { version = "1" }
tokio = { version = "1.32.0", features = ["full"] }
tokio-stream = { version = "0.1.14" }
-
tui-textarea = "0.4.0"

\ No newline at end of file
+
tui-textarea = { version = "0.4.0", default-features = false, features = ["termion"] }

\ No newline at end of file