aboutsummaryrefslogtreecommitdiff
path: root/src/grid/tests.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2018-04-02 08:44:54 -0700
committerJoe Wilm <jwilm@users.noreply.github.com>2018-04-02 10:10:22 -0700
commit99a5007358b1c7d4aa7e4bb3cbd6d5ef81de0abc (patch)
treefe9a95dd0844865bdcc432a48041330b1c43ead8 /src/grid/tests.rs
parent5b8553ba402d133e841fcea90ffaa9df39f48c86 (diff)
downloadalacritty-99a5007358b1c7d4aa7e4bb3cbd6d5ef81de0abc.tar.gz
alacritty-99a5007358b1c7d4aa7e4bb3cbd6d5ef81de0abc.zip
Fix BCE ref tests
BCE was broken in attempt to optimize row clearing. The fix is to revert to passing in the current cursor state when clearing.
Diffstat (limited to 'src/grid/tests.rs')
-rw-r--r--src/grid/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grid/tests.rs b/src/grid/tests.rs
index 107e7103..3e229fb6 100644
--- a/src/grid/tests.rs
+++ b/src/grid/tests.rs
@@ -29,7 +29,7 @@ fn scroll_up() {
info!("grid: {:?}", grid);
- grid.scroll_up(&(Line(0)..Line(10)), Line(2));
+ grid.scroll_up(&(Line(0)..Line(10)), Line(2), &0);
info!("grid: {:?}", grid);
@@ -65,7 +65,7 @@ fn scroll_down() {
info!("grid: {:?}", grid);
- grid.scroll_down(&(Line(0)..Line(10)), Line(2));
+ grid.scroll_down(&(Line(0)..Line(10)), Line(2), &0);
info!("grid: {:?}", grid);