diff --git a/Cargo.lock b/Cargo.lock index 0fe3e09b..5095d92c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1372,9 +1372,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.8.5" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5" +checksum = "ff70ce3e48ae43fa075863cef62e8b43b71a4f2382229920e0df362592919430" dependencies = [ "adler2", "simd-adler32", diff --git a/README.md b/README.md index 683bf737..e9b11502 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Yazi is currently in heavy development, expect breaking changes. | [Ghostty](https://github.com/ghostty-org/ghostty) | [Kitty unicode placeholders][kgp] | ✅ Built-in | | [Windows Terminal](https://github.com/microsoft/terminal) (>= v1.22.10352.0) | [Sixel graphics format][sixel] | ✅ Built-in | | [st with Sixel patch](https://github.com/bakkeby/st-flexipatch) | [Sixel graphics format][sixel] | ✅ Built-in | +| [Warp](https://www.warp.dev) | [Inline images protocol][iip] | ✅ Built-in | | [Tabby](https://github.com/Eugeny/tabby) | [Inline images protocol][iip] | ✅ Built-in | | [VSCode](https://github.com/microsoft/vscode) | [Inline images protocol][iip] | ✅ Built-in | | [Rio](https://github.com/raphamorim/rio) | [Inline images protocol][iip] | ❌ Rio doesn't correctly clear images [#709][rio-bug] | diff --git a/yazi-adapter/src/brand.rs b/yazi-adapter/src/brand.rs index 100a11a1..cbf82cbd 100644 --- a/yazi-adapter/src/brand.rs +++ b/yazi-adapter/src/brand.rs @@ -101,7 +101,7 @@ impl Brand { B::Foot => &[A::Sixel], B::Ghostty => &[A::Kgp], B::Microsoft => &[A::Sixel], - B::Warp => &[], + B::Warp => &[A::Iip, A::KgpOld], B::Rio => &[A::Iip, A::Sixel], B::BlackBox => &[A::Sixel], B::VSCode => &[A::Iip, A::Sixel], diff --git a/yazi-adapter/src/unknown.rs b/yazi-adapter/src/unknown.rs index 1c21f301..6d6a578f 100644 --- a/yazi-adapter/src/unknown.rs +++ b/yazi-adapter/src/unknown.rs @@ -13,8 +13,8 @@ impl Unknown { use Adapter as A; match (self.kgp, self.sixel) { - (true, true) => &[A::Kgp, A::Sixel], - (true, false) => &[A::Kgp], + (true, true) => &[A::Sixel, A::KgpOld], + (true, false) => &[A::KgpOld], (false, true) => &[A::Sixel], (false, false) => &[], }