From 7fc8ff60fdd8ff820e7bcf660355588845eee155 Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Tue, 2 Aug 2022 15:15:26 +0200 Subject: [PATCH] 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 --- Cargo.lock | 3 +-- Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9fe03fd53d..6c14f93211 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 4fd587bcf8..1240c00053 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -122,4 +122,5 @@ name = "nu" path = "src/main.rs" [patch.crates-io] -reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" } \ No newline at end of file +reedline = { git = "https://github.com/nushell/reedline.git", branch = "main" } +lscolors = { git = "https://github.com/sholderbach/lscolors.git", branch = "no-underline-color" }