From d821bc350841b1c6fe3b683ba0eaae5a2b947c80 Mon Sep 17 00:00:00 2001 From: Yoichi Nakayama Date: Tue, 3 Nov 2020 00:31:45 +0900 Subject: [PATCH] Don't cause error if --image-backend=iterm2 is specified --- src/onefetch/image_backends/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/onefetch/image_backends/mod.rs b/src/onefetch/image_backends/mod.rs index 243225099..6d2d60f4e 100644 --- a/src/onefetch/image_backends/mod.rs +++ b/src/onefetch/image_backends/mod.rs @@ -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() {