1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2025-11-06 22:44:18 -05:00

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.
This commit is contained in:
Ayose Cazorla 2020-08-28 22:26:03 +00:00 committed by GitHub
parent ee2c5a6cdd
commit cdf5e51e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 50 additions and 23 deletions

View file

@ -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 {