Patch lscolors to not blink (#6210)

Unreleased patch for the `lscolors` -> `crossterm` translation, where I
introduced a bug/incompatibility with several terminal emulators causing
blinking

https://github.com/nushell/nushell/pull/6172#issuecomment-1201856518

Refers to patch, can be replaced once a new `lscolors` version is
released:

https://github.com/sharkdp/lscolors/pull/51
This commit is contained in:
Stefan Holderbach 2022-08-02 15:15:26 +02:00 committed by GitHub
parent 1f4791a191
commit 7fc8ff60fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

3
Cargo.lock generated
View File

@ -2101,8 +2101,7 @@ dependencies = [
[[package]]
name = "lscolors"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a24e014efe73b727e5792b6f422a23c04b10ba9d8cdc74b197a25a08db7eac86"
source = "git+https://github.com/sholderbach/lscolors.git?branch=no-underline-color#2c07f2d103aadf2ba6f687e2efe4d21eac026a89"
dependencies = [
"ansi_term",
"crossterm 0.24.0",

View File

@ -122,4 +122,5 @@ name = "nu"
path = "src/main.rs"
[patch.crates-io]
reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" }
reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" }
lscolors = { git = "https://github.com/sholderbach/lscolors.git", branch = "no-underline-color" }