Skip to content

Commit

Permalink
Add emacs-eat to list of sixel-supporting emulators (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhamelink authored Oct 13, 2024
1 parent da1f160 commit 7c74a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer/sixel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fn check_device_attrs() -> ViuResult<bool> {
fn check_sixel_support() -> bool {
if let Ok(term) = std::env::var("TERM") {
match term.as_str() {
"mlterm" | "yaft-256color" | "foot" | "foot-extra" => return true,
"mlterm" | "yaft-256color" | "foot" | "foot-extra" | "eat-truecolor" => return true,
"st-256color" | "xterm" | "xterm-256color" => {
return check_device_attrs().unwrap_or(false)
}
Expand Down

0 comments on commit 7c74a5a

Please sign in to comment.