Update crossterm
This commit is contained in:
parent
fa91515a61
commit
7733b1a2c8
3 changed files with 7 additions and 7 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
|
@ -220,9 +220,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "crossterm"
|
name = "crossterm"
|
||||||
version = "0.24.0"
|
version = "0.25.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ab9f7409c70a38a56216480fba371ee460207dd8926ccf5b4160591759559170"
|
checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
"crossterm_winapi",
|
"crossterm_winapi",
|
||||||
|
|
@ -1248,7 +1248,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "toss"
|
name = "toss"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "git+https://github.com/Garmelon/toss.git?rev=5957e8e5508a3772b2229fc9d8ac30ce4173d356#5957e8e5508a3772b2229fc9d8ac30ce4173d356"
|
source = "git+https://github.com/Garmelon/toss.git?rev=fbe9e065fcc76f445c8e4feee04dcbf230586a4c#fbe9e065fcc76f445c8e4feee04dcbf230586a4c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"crossterm",
|
"crossterm",
|
||||||
"unicode-linebreak",
|
"unicode-linebreak",
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@ edition = "2021"
|
||||||
anyhow = "1.0.58"
|
anyhow = "1.0.58"
|
||||||
async-trait = "0.1.56"
|
async-trait = "0.1.56"
|
||||||
clap = { version = "3.2.14", features = ["derive"] }
|
clap = { version = "3.2.14", features = ["derive"] }
|
||||||
crossterm = "0.24.0"
|
cookie = "0.16.0"
|
||||||
|
crossterm = "0.25.0"
|
||||||
directories = "4.0.1"
|
directories = "4.0.1"
|
||||||
edit = "0.1.4"
|
edit = "0.1.4"
|
||||||
futures = "0.3.21"
|
futures = "0.3.21"
|
||||||
|
|
@ -22,7 +23,6 @@ thiserror = "1.0.31"
|
||||||
tokio = { version = "1.20.0", features = ["full"] }
|
tokio = { version = "1.20.0", features = ["full"] }
|
||||||
unicode-segmentation = "1.9.0"
|
unicode-segmentation = "1.9.0"
|
||||||
unicode-width = "0.1.9"
|
unicode-width = "0.1.9"
|
||||||
cookie = "0.16.0"
|
|
||||||
|
|
||||||
[dependencies.time]
|
[dependencies.time]
|
||||||
version = "0.3.11"
|
version = "0.3.11"
|
||||||
|
|
@ -34,7 +34,7 @@ features = ["rustls-tls-native-roots"]
|
||||||
|
|
||||||
[dependencies.toss]
|
[dependencies.toss]
|
||||||
git = "https://github.com/Garmelon/toss.git"
|
git = "https://github.com/Garmelon/toss.git"
|
||||||
rev = "5957e8e5508a3772b2229fc9d8ac30ce4173d356"
|
rev = "fbe9e065fcc76f445c8e4feee04dcbf230586a4c"
|
||||||
|
|
||||||
# [patch."https://github.com/Garmelon/toss.git"]
|
# [patch."https://github.com/Garmelon/toss.git"]
|
||||||
# toss = { path = "../toss/" }
|
# toss = { path = "../toss/" }
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ impl Ui {
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
UiEvent::Term(Event::Mouse(event)) => self.handle_mouse_event(event).await?,
|
UiEvent::Term(Event::Mouse(event)) => self.handle_mouse_event(event).await?,
|
||||||
UiEvent::Term(Event::Resize(_, _)) => EventHandleResult::Continue,
|
UiEvent::Term(_) => EventHandleResult::Continue,
|
||||||
};
|
};
|
||||||
match result {
|
match result {
|
||||||
EventHandleResult::Continue => {}
|
EventHandleResult::Continue => {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue