diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-09-18 01:34:56 +0200 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2018-09-17 23:34:56 +0000 |
commit | 63a40df5203178bbea1ff1a6988e6d30b6f992f4 (patch) | |
tree | cdfef3dbeaf3fc53844574c58082c08cf4e7a202 /src/term | |
parent | 55e675a3d89922d9d7966cd7bccf0da9d9eff654 (diff) | |
download | alacritty-63a40df5203178bbea1ff1a6988e6d30b6f992f4.tar.gz alacritty-63a40df5203178bbea1ff1a6988e6d30b6f992f4.zip |
Fix style issues
Diffstat (limited to 'src/term')
-rw-r--r-- | src/term/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs index 04d110af..f4ebf1c9 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1725,7 +1725,7 @@ impl ansi::Handler for Term { }, ansi::LineClearMode::Left => { let row = &mut self.grid[self.cursor.point.line]; - for cell in &mut row[..(col + 1)] { + for cell in &mut row[..=col] { cell.reset(&template); } }, |