From cdf5e51e742d67d1b96940a5096210725a1e51e8 Mon Sep 17 00:00:00 2001 From: Ayose Cazorla Date: Fri, 28 Aug 2020 22:26:03 +0000 Subject: Add escape to report text area size This implements the escapes `CSI 14 t` and `CSI 18 t` which report the text area size in pixels and characters. --- alacritty/src/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src/display.rs') diff --git a/alacritty/src/display.rs b/alacritty/src/display.rs index d9dd6323..1ddcb636 100644 --- a/alacritty/src/display.rs +++ b/alacritty/src/display.rs @@ -427,7 +427,7 @@ impl Display { pty_resize_handle.on_resize(&pty_size); // Resize terminal. - terminal.resize(&pty_size); + terminal.resize(pty_size); // Resize renderer. let physical = PhysicalSize::new(self.size_info.width as u32, self.size_info.height as u32); -- cgit