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:
İsmail Yılmaz 2025-01-15 15:23:09 +03:00 committed by GitHub
parent f31eed7070
commit b40fbc4ae5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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],
}
}