diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-05-30 20:45:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 20:45:44 +0000 |
commit | 1dacc99183373bffa3ba287aa3241f3b1da67016 (patch) | |
tree | d5dbefde927b02bff10e29d8596a0bfab65d88f1 /alacritty_terminal/tests | |
parent | f7fb67f870943f3f760826b748c8463b8e434983 (diff) | |
download | alacritty-1dacc99183373bffa3ba287aa3241f3b1da67016.tar.gz alacritty-1dacc99183373bffa3ba287aa3241f3b1da67016.zip |
Refactor Term/Grid separation
This commit aims to clear up the separation between Term and Grid to
make way for implementing search.
The `cursor` and `cursor_save` have been moved to the grid, since
they're always bound to their specific grid and this makes updating
easier.
Since the selection is independent of the active grid, it has been moved
to the `Term`.
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 99a9db54..41959b2f 100644 --- a/alacritty_terminal/tests/ref.rs +++ b/alacritty_terminal/tests/ref.rs @@ -107,7 +107,7 @@ fn ref_test(dir: &Path) { // Truncate invisible lines from the grid. let mut term_grid = terminal.grid().clone(); - term_grid.initialize_all(&Cell::default()); + term_grid.initialize_all(Cell::default()); term_grid.truncate(); if grid != term_grid { |