diff options
author | Joe Wilm <joe@jwilm.com> | 2017-10-12 20:29:35 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-03-07 09:45:25 -0800 |
commit | 536590dc47d8ff024c55f2feb51c314cb1f79ae9 (patch) | |
tree | 88808b450ef750a5afe9157bd6a7727080789aa2 /src/term | |
parent | 971e4b2dc1f9c6a79256d747c30f9986076dd571 (diff) | |
download | alacritty-536590dc47d8ff024c55f2feb51c314cb1f79ae9.tar.gz alacritty-536590dc47d8ff024c55f2feb51c314cb1f79ae9.zip |
Remove some unused methods and impls
Diffstat (limited to 'src/term')
-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 2bf5f9c1..1cb37816 100644 --- a/src/term/mod.rs +++ b/src/term/mod.rs @@ -1297,11 +1297,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] |