diff options
author | Joe Wilm <joe@jwilm.com> | 2017-10-12 20:29:35 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:24:38 -0700 |
commit | 4ed25009c49b5963d91f4e3c7ead0f4a5b678980 (patch) | |
tree | b8e2f978c550662843a41e4d3f3ffda775b801d8 /src/term/mod.rs | |
parent | 6fc0e1ec49561fd9783332b30632471336004aed (diff) | |
download | alacritty-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.rs | 7 |
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] |