From b40fbc4ae57a1650c4d44e91656ec5e3dfb3fa90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0smail=20Y=C4=B1lmaz?= <32938453+ismail-yilmaz@users.noreply.github.com> Date: Wed, 15 Jan 2025 15:23:09 +0300 Subject: [PATCH] Updated brands list to include Bobcat Bobcat is added to the list of recognized terminal emulators. It uses the extended device attributes report command (`CSI q <`) to report its id. --- yazi-adapter/src/brand.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/yazi-adapter/src/brand.rs b/yazi-adapter/src/brand.rs index efa9331d..712f6066 100644 --- a/yazi-adapter/src/brand.rs +++ b/yazi-adapter/src/brand.rs @@ -22,6 +22,7 @@ pub enum Brand { Neovim, Apple, Urxvt, + Bobcat, } impl Brand { @@ -83,6 +84,7 @@ impl Brand { ("WezTerm", Self::WezTerm), ("foot", Self::Foot), ("ghostty", Self::Ghostty), + ("Bobcat", Self::Bobcat), ]; names.into_iter().find(|&(n, _)| resp.contains(n)).map(|(_, b)| b) } @@ -110,6 +112,7 @@ impl Brand { B::Neovim => &[], B::Apple => &[], B::Urxvt => &[], + B::Bobcat => &[A::Iip, A::Sixel], } }