1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

Compile on stable

This commit is contained in:
Joe Wilm 2018-04-24 09:39:46 -07:00
parent fe749cf0ad
commit 0d900cdf69

View file

@ -76,7 +76,7 @@ impl<T> Storage<T> {
// Generate range of lines that have to be deleted before the zero line
let start = offset.saturating_sub(shrinkage - 1);
let shrink_before = start..=offset;
let shrink_before = start..(offset + 1);
// Generate range of lines that have to be deleted after the zero line
let shrink_after = (self.inner.len() + offset + 1 - shrinkage)..self.inner.len();