diff options
author | Joe Wilm <joe@jwilm.com> | 2018-04-02 08:44:54 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-04-02 10:10:22 -0700 |
commit | 99a5007358b1c7d4aa7e4bb3cbd6d5ef81de0abc (patch) | |
tree | fe9a95dd0844865bdcc432a48041330b1c43ead8 /src/grid/tests.rs | |
parent | 5b8553ba402d133e841fcea90ffaa9df39f48c86 (diff) | |
download | alacritty-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.rs | 4 |
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); |