diff options
Diffstat (limited to 'alacritty_terminal/src/term/mod.rs')
-rw-r--r-- | alacritty_terminal/src/term/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/term/mod.rs b/alacritty_terminal/src/term/mod.rs index 1336e564..ed2d9498 100644 --- a/alacritty_terminal/src/term/mod.rs +++ b/alacritty_terminal/src/term/mod.rs @@ -1786,7 +1786,7 @@ impl<T: EventListener> Handler for Term<T> { let (ps, pv) = if pa == 1 || pa == 4 { match pi { 1 => (0, &[sixel::MAX_COLOR_REGISTERS][..]), - 2 => (0, &[MAX_GRAPHIC_DIMENSIONS.0, MAX_GRAPHIC_DIMENSIONS.1][..]), + 2 => (0, &MAX_GRAPHIC_DIMENSIONS[..]), _ => (1, &[][..]), // Report error in Pi } } else { @@ -1815,7 +1815,7 @@ impl<T: EventListener> Handler for Term<T> { } } - if graphic.width > MAX_GRAPHIC_DIMENSIONS.0 || graphic.height > MAX_GRAPHIC_DIMENSIONS.1 { + if graphic.width > MAX_GRAPHIC_DIMENSIONS[0] || graphic.height > MAX_GRAPHIC_DIMENSIONS[1] { return; } |