mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
chore: Update completest
This commit is contained in:
parent
1f022b8395
commit
71d6a3d3ca
3 changed files with 17 additions and 6 deletions
19
Cargo.lock
generated
19
Cargo.lock
generated
|
@ -646,12 +646,12 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
|
|||
|
||||
[[package]]
|
||||
name = "completest"
|
||||
version = "0.0.13"
|
||||
version = "0.0.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ab75eacf2266589e6243755a7310d228d3ce66553c6c65f8b64f66a22290182c"
|
||||
checksum = "fa515ddcd88ba6e25ed72581b38284255c9126ff2ca4fd81525f72a59187a985"
|
||||
dependencies = [
|
||||
"ptyprocess",
|
||||
"vte 0.11.1",
|
||||
"vt100",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -3889,6 +3889,18 @@ version = "0.9.4"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
||||
|
||||
[[package]]
|
||||
name = "vt100"
|
||||
version = "0.15.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "84cd863bf0db7e392ba3bd04994be3473491b31e66340672af5d11943c6274de"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"log",
|
||||
"unicode-width",
|
||||
"vte 0.11.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vte"
|
||||
version = "0.10.1"
|
||||
|
@ -3907,7 +3919,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "f5022b5fbf9407086c180e9557be968742d839e68346af7792b8592489732197"
|
||||
dependencies = [
|
||||
"arrayvec 0.7.2",
|
||||
"log",
|
||||
"utf8parse",
|
||||
"vte_generate_state_changes",
|
||||
]
|
||||
|
|
|
@ -43,7 +43,7 @@ unicode-xid = { version = "0.2.2", optional = true }
|
|||
snapbox = { version = "0.4.11", features = ["diff", "path", "examples"] }
|
||||
# Cutting out `filesystem` feature
|
||||
trycmd = { version = "0.14.16", default-features = false, features = ["color-auto", "diff", "examples"] }
|
||||
completest = "0.0.13"
|
||||
completest = "0.0.14"
|
||||
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "derive", "help"] }
|
||||
|
||||
[[example]]
|
||||
|
|
|
@ -417,7 +417,7 @@ impl completest::Runtime for ScratchRuntime {
|
|||
// HACK: elvish prints and clears this message when a completer takes too long which is
|
||||
// dependent on a lot of factors, making this show up or no sometimes (especially if we
|
||||
// aren't clearing the screen properly for fish)
|
||||
let output = output.replace("\n COMPLETING argument\n", "\n");
|
||||
let output = output.replace("\nCOMPLETING argument\n", "\n");
|
||||
Ok(output)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue