mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: recognize TERM=rxvt-unicode-256color (#1027)
This commit is contained in:
parent
c1e1f26c4c
commit
07342a29ef
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ pub enum Emulator {
|
|||
Mintty,
|
||||
Neovim,
|
||||
Apple,
|
||||
Urxvt,
|
||||
}
|
||||
|
||||
impl Emulator {
|
||||
|
|
@ -43,6 +44,7 @@ impl Emulator {
|
|||
Self::Mintty => vec![Adaptor::Iterm2],
|
||||
Self::Neovim => vec![],
|
||||
Self::Apple => vec![],
|
||||
Self::Urxvt => vec![],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -85,6 +87,7 @@ impl Emulator {
|
|||
"foot" => return Self::Foot,
|
||||
"foot-extra" => return Self::Foot,
|
||||
"xterm-ghostty" => return Self::Ghostty,
|
||||
"rxvt-unicode-256color" => return Self::Urxvt,
|
||||
_ => warn!("[Adaptor] Unknown TERM: {term}"),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue