aboutsummaryrefslogtreecommitdiff
path: root/src/term/mod.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2017-10-12 20:29:35 -0700
committerJoe Wilm <joe@jwilm.com>2018-06-02 09:24:38 -0700
commit4ed25009c49b5963d91f4e3c7ead0f4a5b678980 (patch)
treeb8e2f978c550662843a41e4d3f3ffda775b801d8 /src/term/mod.rs
parent6fc0e1ec49561fd9783332b30632471336004aed (diff)
downloadalacritty-4ed25009c49b5963d91f4e3c7ead0f4a5b678980.tar.gz
alacritty-4ed25009c49b5963d91f4e3c7ead0f4a5b678980.zip
Remove some unused methods and impls
Diffstat (limited to 'src/term/mod.rs')
-rw-r--r--src/term/mod.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index fa6145f9..c405490e 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -1299,11 +1299,8 @@ impl ansi::Handler for Term {
let mut template = self.cursor.template;
template.c = 'E';
- for row in &mut self.grid.lines_mut() {
- for cell in row {
- cell.reset(&template);
- }
- }
+ self.grid.region_mut(..)
+ .each(|c| c.reset(&template));
}
#[inline]