Skip to content

Commit

Permalink
Don't cause error if --image-backend=iterm2 is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
yoichi committed Nov 2, 2020
1 parent 832e4c5 commit d821bc3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/onefetch/image_backends/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ pub fn check_if_supported(backend_name: &str) -> Result<()> {
}
}
"iterm2" => {
if !iterm2::ITerm2Backend::supported() {
return Err("iTerm2 image backend is not supported".into());
}
}
"sixel" => {
if !sixel::SixelBackend::supported() {
Expand Down

0 comments on commit d821bc3

Please sign in to comment.