aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/main.rs
diff options
context:
space:
mode:
authorAyose Cazorla <ayosec@gmail.com>2020-08-28 22:26:03 +0000
committerGitHub <noreply@github.com>2020-08-28 22:26:03 +0000
commitcdf5e51e742d67d1b96940a5096210725a1e51e8 (patch)
tree4652f37d8a9c32d3da4670d8706c96158caf1d72 /alacritty/src/main.rs
parentee2c5a6cdd6a07f18b99a50b9d2737bd8ea391c4 (diff)
downloadr-alacritty-cdf5e51e742d67d1b96940a5096210725a1e51e8.tar.gz
r-alacritty-cdf5e51e742d67d1b96940a5096210725a1e51e8.tar.bz2
r-alacritty-cdf5e51e742d67d1b96940a5096210725a1e51e8.zip
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.
Diffstat (limited to 'alacritty/src/main.rs')
-rw-r--r--alacritty/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/main.rs b/alacritty/src/main.rs
index 838ce4d2..efd3e947 100644
--- a/alacritty/src/main.rs
+++ b/alacritty/src/main.rs
@@ -145,7 +145,7 @@ fn run(
// This object contains all of the state about what's being displayed. It's
// wrapped in a clonable mutex since both the I/O loop and display need to
// access it.
- let terminal = Term::new(&config, &display.size_info, event_proxy.clone());
+ let terminal = Term::new(&config, display.size_info, event_proxy.clone());
let terminal = Arc::new(FairMutex::new(terminal));
// Create the PTY.