summaryrefslogtreecommitdiff
path: root/src/term
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2018-09-18 01:34:56 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-17 23:34:56 +0000
commit63a40df5203178bbea1ff1a6988e6d30b6f992f4 (patch)
treecdfef3dbeaf3fc53844574c58082c08cf4e7a202 /src/term
parent55e675a3d89922d9d7966cd7bccf0da9d9eff654 (diff)
downloadalacritty-63a40df5203178bbea1ff1a6988e6d30b6f992f4.tar.gz
alacritty-63a40df5203178bbea1ff1a6988e6d30b6f992f4.zip
Fix style issues
Diffstat (limited to 'src/term')
-rw-r--r--src/term/mod.rs2
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);
}
},