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:
parent
fe749cf0ad
commit
0d900cdf69
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue