diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-04-06 13:06:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 13:06:39 +0300 |
commit | 673710487afac8596a9f18fea9e04aeada32c2be (patch) | |
tree | 1305e00422c01e35d91c533b12004c0082528eb4 /alacritty_terminal/tests | |
parent | 851dbc328efd9b212bb2c7b9caaf5763eb4e524b (diff) | |
download | alacritty-673710487afac8596a9f18fea9e04aeada32c2be.tar.gz alacritty-673710487afac8596a9f18fea9e04aeada32c2be.zip |
Extract `SizeInfo` from alacritty_terminal
The `SizeInfo` is a SizeInfo used for rendering, which contains
information about padding, and such, however all the terminal need is
number of visible lines and columns.
Diffstat (limited to 'alacritty_terminal/tests')
42 files changed, 45 insertions, 44 deletions
diff --git a/alacritty_terminal/tests/ref.rs b/alacritty_terminal/tests/ref.rs index 87f5a811..6f9d39d0 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -11,7 +11,8 @@ use alacritty_terminal::event::{Event, EventListener}; use alacritty_terminal::grid::{Dimensions, Grid}; use alacritty_terminal::index::{Column, Line}; use alacritty_terminal::term::cell::Cell; -use alacritty_terminal::term::{SizeInfo, Term}; +use alacritty_terminal::term::test::TermSize; +use alacritty_terminal::term::Term; macro_rules! ref_tests { ($($name:ident)*) => { @@ -98,14 +99,14 @@ fn ref_test(dir: &Path) { let serialized_grid = fs::read_to_string(dir.join("grid.json")).unwrap(); let serialized_cfg = fs::read_to_string(dir.join("config.json")).unwrap(); - let size: SizeInfo = json::from_str(&serialized_size).unwrap(); + let size: TermSize = json::from_str(&serialized_size).unwrap(); let grid: Grid<Cell> = json::from_str(&serialized_grid).unwrap(); let ref_config: RefConfig = json::from_str(&serialized_cfg).unwrap(); let mut config = Config::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 { diff --git a/alacritty_terminal/tests/ref/alt_reset/size.json b/alacritty_terminal/tests/ref/alt_reset/size.json index e1496c9f..d75e8ead 100644 --- a/alacritty_terminal/tests/ref/alt_reset/size.json +++ b/alacritty_terminal/tests/ref/alt_reset/size.json @@ -1 +1 @@ -{"width":1916.0,"height":1054.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":106,"screen_lines":30} +{"columns":106,"screen_lines":30} diff --git a/alacritty_terminal/tests/ref/clear_underline/size.json b/alacritty_terminal/tests/ref/clear_underline/size.json index 7a64bf41..08c6c865 100644 --- a/alacritty_terminal/tests/ref/clear_underline/size.json +++ b/alacritty_terminal/tests/ref/clear_underline/size.json @@ -1 +1 @@ -{"width":662.0,"height":708.0,"cell_width":10.0,"cell_height":22.0,"padding_x":0.0,"padding_y":0.0,"columns":66,"screen_lines":32} +{"columns":66,"screen_lines":32} diff --git a/alacritty_terminal/tests/ref/colored_reset/size.json b/alacritty_terminal/tests/ref/colored_reset/size.json index d9aec879..324a6e92 100644 --- a/alacritty_terminal/tests/ref/colored_reset/size.json +++ b/alacritty_terminal/tests/ref/colored_reset/size.json @@ -1 +1 @@ -{"width":939.0,"height":1020.0,"cell_width":8.0,"cell_height":16.0,"padding_x":5.0,"padding_y":6.0,"columns":116,"screen_lines":63} +{"columns":116,"screen_lines":63} diff --git a/alacritty_terminal/tests/ref/colored_underline/size.json b/alacritty_terminal/tests/ref/colored_underline/size.json index 2902195f..ad1a4ad5 100644 --- a/alacritty_terminal/tests/ref/colored_underline/size.json +++ b/alacritty_terminal/tests/ref/colored_underline/size.json @@ -1 +1 @@ -{"width":1262.0,"height":690.0,"cell_width":9.0,"cell_height":18.0,"padding_x":0.0,"padding_y":0.0,"screen_lines":38,"columns":140}
\ No newline at end of file +{"screen_lines":38,"columns":140} diff --git a/alacritty_terminal/tests/ref/csi_rep/size.json b/alacritty_terminal/tests/ref/csi_rep/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/csi_rep/size.json +++ b/alacritty_terminal/tests/ref/csi_rep/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/decaln_reset/size.json b/alacritty_terminal/tests/ref/decaln_reset/size.json index e1496c9f..d75e8ead 100644 --- a/alacritty_terminal/tests/ref/decaln_reset/size.json +++ b/alacritty_terminal/tests/ref/decaln_reset/size.json @@ -1 +1 @@ -{"width":1916.0,"height":1054.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":106,"screen_lines":30} +{"columns":106,"screen_lines":30} diff --git a/alacritty_terminal/tests/ref/deccolm_reset/size.json b/alacritty_terminal/tests/ref/deccolm_reset/size.json index e1496c9f..d75e8ead 100644 --- a/alacritty_terminal/tests/ref/deccolm_reset/size.json +++ b/alacritty_terminal/tests/ref/deccolm_reset/size.json @@ -1 +1 @@ -{"width":1916.0,"height":1054.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":106,"screen_lines":30} +{"columns":106,"screen_lines":30} diff --git a/alacritty_terminal/tests/ref/delete_chars_reset/size.json b/alacritty_terminal/tests/ref/delete_chars_reset/size.json index e1496c9f..d75e8ead 100644 --- a/alacritty_terminal/tests/ref/delete_chars_reset/size.json +++ b/alacritty_terminal/tests/ref/delete_chars_reset/size.json @@ -1 +1 @@ -{"width":1916.0,"height":1054.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":106,"screen_lines":30} +{"columns":106,"screen_lines":30} diff --git a/alacritty_terminal/tests/ref/delete_lines/size.json b/alacritty_terminal/tests/ref/delete_lines/size.json index 5b5891b0..a6ad2842 100644 --- a/alacritty_terminal/tests/ref/delete_lines/size.json +++ b/alacritty_terminal/tests/ref/delete_lines/size.json @@ -1 +1 @@ -{"width":939.0,"height":503.0,"cell_width":8.0,"cell_height":16.0,"padding_x":5.0,"padding_y":3.0,"columns":116,"screen_lines":31} +{"columns":116,"screen_lines":31} diff --git a/alacritty_terminal/tests/ref/erase_chars_reset/size.json b/alacritty_terminal/tests/ref/erase_chars_reset/size.json index e1496c9f..d75e8ead 100644 --- a/alacritty_terminal/tests/ref/erase_chars_reset/size.json +++ b/alacritty_terminal/tests/ref/erase_chars_reset/size.json @@ -1 +1 @@ -{"width":1916.0,"height":1054.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":106,"screen_lines":30} +{"columns":106,"screen_lines":30} diff --git a/alacritty_terminal/tests/ref/fish_cc/size.json b/alacritty_terminal/tests/ref/fish_cc/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/fish_cc/size.json +++ b/alacritty_terminal/tests/ref/fish_cc/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/grid_reset/size.json b/alacritty_terminal/tests/ref/grid_reset/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/grid_reset/size.json +++ b/alacritty_terminal/tests/ref/grid_reset/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/history/size.json b/alacritty_terminal/tests/ref/history/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/history/size.json +++ b/alacritty_terminal/tests/ref/history/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/indexed_256_colors/size.json b/alacritty_terminal/tests/ref/indexed_256_colors/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/indexed_256_colors/size.json +++ b/alacritty_terminal/tests/ref/indexed_256_colors/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/insert_blank_reset/size.json b/alacritty_terminal/tests/ref/insert_blank_reset/size.json index e1496c9f..d75e8ead 100644 --- a/alacritty_terminal/tests/ref/insert_blank_reset/size.json +++ b/alacritty_terminal/tests/ref/insert_blank_reset/size.json @@ -1 +1 @@ -{"width":1916.0,"height":1054.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":106,"screen_lines":30} +{"columns":106,"screen_lines":30} diff --git a/alacritty_terminal/tests/ref/issue_855/size.json b/alacritty_terminal/tests/ref/issue_855/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/issue_855/size.json +++ b/alacritty_terminal/tests/ref/issue_855/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/ll/size.json b/alacritty_terminal/tests/ref/ll/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/ll/size.json +++ b/alacritty_terminal/tests/ref/ll/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/newline_with_cursor_beyond_scroll_region/size.json b/alacritty_terminal/tests/ref/newline_with_cursor_beyond_scroll_region/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/newline_with_cursor_beyond_scroll_region/size.json +++ b/alacritty_terminal/tests/ref/newline_with_cursor_beyond_scroll_region/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/region_scroll_down/size.json b/alacritty_terminal/tests/ref/region_scroll_down/size.json index 5b5891b0..a6ad2842 100644 --- a/alacritty_terminal/tests/ref/region_scroll_down/size.json +++ b/alacritty_terminal/tests/ref/region_scroll_down/size.json @@ -1 +1 @@ -{"width":939.0,"height":503.0,"cell_width":8.0,"cell_height":16.0,"padding_x":5.0,"padding_y":3.0,"columns":116,"screen_lines":31} +{"columns":116,"screen_lines":31} diff --git a/alacritty_terminal/tests/ref/row_reset/size.json b/alacritty_terminal/tests/ref/row_reset/size.json index eb2f8c6b..131aab99 100644 --- a/alacritty_terminal/tests/ref/row_reset/size.json +++ b/alacritty_terminal/tests/ref/row_reset/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1040.0,"cell_width":11.0,"cell_height":22.0,"padding_x":0.0,"padding_y":0.0,"columns":172,"screen_lines":47} +{"columns":172,"screen_lines":47} diff --git a/alacritty_terminal/tests/ref/saved_cursor/size.json b/alacritty_terminal/tests/ref/saved_cursor/size.json index 8fbe36f3..07f7f38d 100644 --- a/alacritty_terminal/tests/ref/saved_cursor/size.json +++ b/alacritty_terminal/tests/ref/saved_cursor/size.json @@ -1 +1 @@ -{"width":1259.0,"height":683.0,"cell_width":9.0,"cell_height":19.0,"padding_x":4.0,"padding_y":9.0,"columns":139,"screen_lines":35} +{"columns":139,"screen_lines":35} diff --git a/alacritty_terminal/tests/ref/saved_cursor_alt/size.json b/alacritty_terminal/tests/ref/saved_cursor_alt/size.json index 8fbe36f3..07f7f38d 100644 --- a/alacritty_terminal/tests/ref/saved_cursor_alt/size.json +++ b/alacritty_terminal/tests/ref/saved_cursor_alt/size.json @@ -1 +1 @@ -{"width":1259.0,"height":683.0,"cell_width":9.0,"cell_height":19.0,"padding_x":4.0,"padding_y":9.0,"columns":139,"screen_lines":35} +{"columns":139,"screen_lines":35} diff --git a/alacritty_terminal/tests/ref/scroll_up_reset/size.json b/alacritty_terminal/tests/ref/scroll_up_reset/size.json index 7b4c5e96..19a25007 100644 --- a/alacritty_terminal/tests/ref/scroll_up_reset/size.json +++ b/alacritty_terminal/tests/ref/scroll_up_reset/size.json @@ -1 +1 @@ -{"width":1840.0,"height":1040.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":102,"screen_lines":29} +{"columns":102,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/selective_erasure/size.json b/alacritty_terminal/tests/ref/selective_erasure/size.json index ca988096..2f7763b2 100644 --- a/alacritty_terminal/tests/ref/selective_erasure/size.json +++ b/alacritty_terminal/tests/ref/selective_erasure/size.json @@ -1 +1 @@ -{"width":70.0,"height":63.0,"cell_width":7.0,"cell_height":21.0,"padding_x":0.0,"padding_y":0.0,"columns":10,"screen_lines":3} +{"columns":10,"screen_lines":3} diff --git a/alacritty_terminal/tests/ref/sgr/size.json b/alacritty_terminal/tests/ref/sgr/size.json index 8fbe36f3..07f7f38d 100644 --- a/alacritty_terminal/tests/ref/sgr/size.json +++ b/alacritty_terminal/tests/ref/sgr/size.json @@ -1 +1 @@ -{"width":1259.0,"height":683.0,"cell_width":9.0,"cell_height":19.0,"padding_x":4.0,"padding_y":9.0,"columns":139,"screen_lines":35} +{"columns":139,"screen_lines":35} diff --git a/alacritty_terminal/tests/ref/tab_rendering/size.json b/alacritty_terminal/tests/ref/tab_rendering/size.json index d9aec879..324a6e92 100644 --- a/alacritty_terminal/tests/ref/tab_rendering/size.json +++ b/alacritty_terminal/tests/ref/tab_rendering/size.json @@ -1 +1 @@ -{"width":939.0,"height":1020.0,"cell_width":8.0,"cell_height":16.0,"padding_x":5.0,"padding_y":6.0,"columns":116,"screen_lines":63} +{"columns":116,"screen_lines":63} diff --git a/alacritty_terminal/tests/ref/tmux_git_log/size.json b/alacritty_terminal/tests/ref/tmux_git_log/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/tmux_git_log/size.json +++ b/alacritty_terminal/tests/ref/tmux_git_log/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/tmux_htop/size.json b/alacritty_terminal/tests/ref/tmux_htop/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/tmux_htop/size.json +++ b/alacritty_terminal/tests/ref/tmux_htop/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/underline/size.json b/alacritty_terminal/tests/ref/underline/size.json index 83bde809..fe33fdb1 100644 --- a/alacritty_terminal/tests/ref/underline/size.json +++ b/alacritty_terminal/tests/ref/underline/size.json @@ -1 +1 @@ -{"width":948.0,"height":1041.0,"cell_width":7.0,"cell_height":16.0,"padding_x":5.0,"padding_y":8.0,"screen_lines":64,"columns":134}
\ No newline at end of file +{"screen_lines":64,"columns":134} diff --git a/alacritty_terminal/tests/ref/vim_24bitcolors_bce/size.json b/alacritty_terminal/tests/ref/vim_24bitcolors_bce/size.json index 25b171ec..b7bf301a 100644 --- a/alacritty_terminal/tests/ref/vim_24bitcolors_bce/size.json +++ b/alacritty_terminal/tests/ref/vim_24bitcolors_bce/size.json @@ -1 +1 @@ -{"width":1916.0,"height":2121.0,"cell_width":11.0,"cell_height":22.0,"padding_x":0.0,"padding_y":0.0,"columns":174,"screen_lines":96} +{"columns":174,"screen_lines":96} diff --git a/alacritty_terminal/tests/ref/vim_large_window_scroll/size.json b/alacritty_terminal/tests/ref/vim_large_window_scroll/size.json index eb2f8c6b..131aab99 100644 --- a/alacritty_terminal/tests/ref/vim_large_window_scroll/size.json +++ b/alacritty_terminal/tests/ref/vim_large_window_scroll/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1040.0,"cell_width":11.0,"cell_height":22.0,"padding_x":0.0,"padding_y":0.0,"columns":172,"screen_lines":47} +{"columns":172,"screen_lines":47} diff --git a/alacritty_terminal/tests/ref/vim_simple_edit/size.json b/alacritty_terminal/tests/ref/vim_simple_edit/size.json index 6e300ab3..e6445562 100644 --- a/alacritty_terminal/tests/ref/vim_simple_edit/size.json +++ b/alacritty_terminal/tests/ref/vim_simple_edit/size.json @@ -1 +1 @@ -{"width":644.0,"height":412.0,"cell_width":8.0,"cell_height":17.0,"padding_x":0.0,"padding_y":0.0,"columns":80,"screen_lines":24} +{"columns":80,"screen_lines":24} diff --git a/alacritty_terminal/tests/ref/vttest_cursor_movement_1/size.json b/alacritty_terminal/tests/ref/vttest_cursor_movement_1/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/vttest_cursor_movement_1/size.json +++ b/alacritty_terminal/tests/ref/vttest_cursor_movement_1/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/vttest_insert/size.json b/alacritty_terminal/tests/ref/vttest_insert/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/vttest_insert/size.json +++ b/alacritty_terminal/tests/ref/vttest_insert/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/vttest_origin_mode_1/size.json b/alacritty_terminal/tests/ref/vttest_origin_mode_1/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/vttest_origin_mode_1/size.json +++ b/alacritty_terminal/tests/ref/vttest_origin_mode_1/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/vttest_origin_mode_2/size.json b/alacritty_terminal/tests/ref/vttest_origin_mode_2/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/vttest_origin_mode_2/size.json +++ b/alacritty_terminal/tests/ref/vttest_origin_mode_2/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/vttest_scroll/size.json b/alacritty_terminal/tests/ref/vttest_scroll/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/vttest_scroll/size.json +++ b/alacritty_terminal/tests/ref/vttest_scroll/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} diff --git a/alacritty_terminal/tests/ref/vttest_tab_clear_set/size.json b/alacritty_terminal/tests/ref/vttest_tab_clear_set/size.json index 5b5891b0..a6ad2842 100644 --- a/alacritty_terminal/tests/ref/vttest_tab_clear_set/size.json +++ b/alacritty_terminal/tests/ref/vttest_tab_clear_set/size.json @@ -1 +1 @@ -{"width":939.0,"height":503.0,"cell_width":8.0,"cell_height":16.0,"padding_x":5.0,"padding_y":3.0,"columns":116,"screen_lines":31} +{"columns":116,"screen_lines":31} diff --git a/alacritty_terminal/tests/ref/wrapline_alt_toggle/size.json b/alacritty_terminal/tests/ref/wrapline_alt_toggle/size.json index 8fbe36f3..07f7f38d 100644 --- a/alacritty_terminal/tests/ref/wrapline_alt_toggle/size.json +++ b/alacritty_terminal/tests/ref/wrapline_alt_toggle/size.json @@ -1 +1 @@ -{"width":1259.0,"height":683.0,"cell_width":9.0,"cell_height":19.0,"padding_x":4.0,"padding_y":9.0,"columns":139,"screen_lines":35} +{"columns":139,"screen_lines":35} diff --git a/alacritty_terminal/tests/ref/zerowidth/size.json b/alacritty_terminal/tests/ref/zerowidth/size.json index e98968f5..63ae9395 100644 --- a/alacritty_terminal/tests/ref/zerowidth/size.json +++ b/alacritty_terminal/tests/ref/zerowidth/size.json @@ -1 +1 @@ -{"width":1259.0,"height":683.0,"cell_width":9.0,"cell_height":19.0,"padding_x":4.0,"padding_y":9.0,"screen_lines":35,"columns":139}
\ No newline at end of file +{"screen_lines":35,"columns":139} diff --git a/alacritty_terminal/tests/ref/zsh_tab_completion/size.json b/alacritty_terminal/tests/ref/zsh_tab_completion/size.json index 8937a062..d9852f89 100644 --- a/alacritty_terminal/tests/ref/zsh_tab_completion/size.json +++ b/alacritty_terminal/tests/ref/zsh_tab_completion/size.json @@ -1 +1 @@ -{"width":1900.0,"height":1038.0,"cell_width":18.0,"cell_height":35.0,"padding_x":0.0,"padding_y":0.0,"columns":105,"screen_lines":29} +{"columns":105,"screen_lines":29} |