mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
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.
This commit is contained in:
parent
f31eed7070
commit
b40fbc4ae5
1 changed files with 3 additions and 0 deletions
|
|
@ -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],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue