From d5217f667751ba00997bf1d2620ea531ec61d744 Mon Sep 17 00:00:00 2001 From: har7an <99636919+har7an@users.noreply.github.com> Date: Tue, 26 Mar 2024 06:14:32 +0000 Subject: [PATCH] cargo: Revert version update on `ansi-to-tui` (#702) which causes custom styling to be lost on the currently selected line. --- Cargo.lock | 12 ++---------- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5f86cac..433d022 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -52,14 +52,12 @@ checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" [[package]] name = "ansi-to-tui" -version = "4.0.1" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8438af3d7e7dccdb98eff55e5351587d9bec2294daff505fc9a061bd14d22db0" +checksum = "0b0e348dcd256ba06d44d5deabc88a7c0e80ee7303158253ca069bcd9e9b7f57" dependencies = [ "nom", "ratatui", - "simdutf8", - "smallvec", "thiserror", ] @@ -1337,12 +1335,6 @@ dependencies = [ "libc", ] -[[package]] -name = "simdutf8" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a" - [[package]] name = "skim" version = "0.10.4" diff --git a/Cargo.toml b/Cargo.toml index 6c50de0..62f1d6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ natord = "1.0.9" anyhow = "1.0.81" serde_yaml = "0.9.33" crossterm = { version = "0.27.0", features = [], default-features = false } -ansi-to-tui = "4.0.1" +ansi-to-tui = "3.1.0" regex = "1.10.3" gethostname = "0.4.3" serde_json = "1.0.114"