diff options
author | Joe Wilm <joe@jwilm.com> | 2017-04-20 10:13:28 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2017-04-20 10:13:28 -0700 |
commit | 346ec09af5a274735833c207ddc40cf49c30bc8b (patch) | |
tree | 2b814dcc93ca699036233ed882583c59c4e99f4f /src/grid.rs | |
parent | 7df35a30eaaa9e2fab3b7dd3e8490de0105458cf (diff) | |
download | alacritty-346ec09af5a274735833c207ddc40cf49c30bc8b.tar.gz alacritty-346ec09af5a274735833c207ddc40cf49c30bc8b.zip |
Fix some bugs with resize
Diffstat (limited to 'src/grid.rs')
-rw-r--r-- | src/grid.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/grid.rs b/src/grid.rs index 8d1d051b..cdb93c96 100644 --- a/src/grid.rs +++ b/src/grid.rs @@ -159,7 +159,6 @@ impl<T> Grid<T> { #[inline] pub fn scroll_up(&mut self, region: Range<index::Line>, positions: index::Line) { - for line in IndexRange(region.start..(region.end - positions)) { self.swap_lines(line, line + positions); } |