mirror of
https://github.com/wez/wezterm.git
synced 2024-12-28 07:55:03 +03:00
termwiz: fix test build when image feature is disabled
This commit is contained in:
parent
4427ca3a1c
commit
3c5916d760
@ -307,6 +307,11 @@ impl ImageDataType {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "use_image"))]
|
||||
pub fn decode(self) -> Self {
|
||||
self
|
||||
}
|
||||
|
||||
#[cfg(feature = "use_image")]
|
||||
fn decode_frames(img_frames: Vec<image::Frame>) -> Self {
|
||||
let mut width = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user