mirror of
https://github.com/atuinsh/atuin.git
synced 2025-08-19 19:26:33 +02:00
fix-version
This commit is contained in:
27
Cargo.lock
generated
27
Cargo.lock
generated
@@ -487,13 +487,16 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "crossterm"
|
name = "crossterm"
|
||||||
version = "0.25.0"
|
version = "0.25.0"
|
||||||
source = "git+https://github.com/yyogo/crossterm?branch=use-select-in-unix#673699d4961552199d00df5a694b11e8286db599"
|
source = "git+https://github.com/crossterm-rs/crossterm?rev=a993a982912ae7741ca2a988e5abf08388c942aa#a993a982912ae7741ca2a988e5abf08388c942aa"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
"crossterm_winapi",
|
"crossterm_winapi",
|
||||||
|
"filedescriptor",
|
||||||
"libc",
|
"libc",
|
||||||
|
"mio",
|
||||||
"parking_lot 0.12.1",
|
"parking_lot 0.12.1",
|
||||||
"signal-hook",
|
"signal-hook",
|
||||||
|
"signal-hook-mio",
|
||||||
"winapi",
|
"winapi",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -645,6 +648,17 @@ dependencies = [
|
|||||||
"once_cell",
|
"once_cell",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "filedescriptor"
|
||||||
|
version = "0.8.2"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "7199d965852c3bac31f779ef99cbb4537f80e952e2d6aa0ffeb30cce00f4f46e"
|
||||||
|
dependencies = [
|
||||||
|
"libc",
|
||||||
|
"thiserror",
|
||||||
|
"winapi",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "flume"
|
name = "flume"
|
||||||
version = "0.10.14"
|
version = "0.10.14"
|
||||||
@@ -1880,6 +1894,17 @@ dependencies = [
|
|||||||
"signal-hook-registry",
|
"signal-hook-registry",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[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]]
|
[[package]]
|
||||||
name = "signal-hook-registry"
|
name = "signal-hook-registry"
|
||||||
version = "1.4.0"
|
version = "1.4.0"
|
||||||
|
@@ -57,7 +57,7 @@ indicatif = "0.17.1"
|
|||||||
serde = { version = "1.0.145", features = ["derive"] }
|
serde = { version = "1.0.145", features = ["derive"] }
|
||||||
serde_json = "1.0.86"
|
serde_json = "1.0.86"
|
||||||
tui = "0.19"
|
tui = "0.19"
|
||||||
crossterm = "0.25"
|
crossterm = { version = "0.25", features = ["use-dev-tty"] }
|
||||||
unicode-width = "0.1"
|
unicode-width = "0.1"
|
||||||
itertools = "0.10.5"
|
itertools = "0.10.5"
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
@@ -81,4 +81,4 @@ features = ["ansi", "fmt", "registry", "env-filter"]
|
|||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
crossterm = { git = "https://github.com/yyogo/crossterm", branch = "use-select-in-unix" }
|
crossterm = { git = "https://github.com/crossterm-rs/crossterm", rev = "a993a982912ae7741ca2a988e5abf08388c942aa" }
|
||||||
|
@@ -428,10 +428,13 @@ pub async fn history(
|
|||||||
let initial_filter_mode = app.filter_mode;
|
let initial_filter_mode = app.filter_mode;
|
||||||
|
|
||||||
if event::poll(Duration::from_millis(250))? {
|
if event::poll(Duration::from_millis(250))? {
|
||||||
while event::poll(Duration::ZERO)? {
|
loop {
|
||||||
if let Some(i) = app.handle_input(settings, &event::read()?, results.len()) {
|
if let Some(i) = app.handle_input(settings, &event::read()?, results.len()) {
|
||||||
break 'render i;
|
break 'render i;
|
||||||
}
|
}
|
||||||
|
if !event::poll(Duration::ZERO)? {
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user