diff options
author | Ayose Cazorla <ayosec@gmail.com> | 2020-08-28 22:26:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 22:26:03 +0000 |
commit | cdf5e51e742d67d1b96940a5096210725a1e51e8 (patch) | |
tree | 4652f37d8a9c32d3da4670d8706c96158caf1d72 /alacritty_terminal/tests | |
parent | ee2c5a6cdd6a07f18b99a50b9d2737bd8ea391c4 (diff) | |
download | alacritty-cdf5e51e742d67d1b96940a5096210725a1e51e8.tar.gz 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_terminal/tests')
-rw-r--r-- | alacritty_terminal/tests/ref.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs index 54031022..5036a3ed 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -102,7 +102,7 @@ fn ref_test(dir: &Path) { let mut config = MockConfig::default(); config.scrolling.set_history(ref_config.history_size); - let mut terminal = Term::new(&config, &size, Mock); + let mut terminal = Term::new(&config, size, Mock); let mut parser = ansi::Processor::new(); for byte in recording { |