diff options
Diffstat (limited to 'src/renderer/mod.rs')
-rw-r--r-- | src/renderer/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 2868a226..5f3fbfc7 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -685,7 +685,7 @@ impl<'a> RenderApi<'a> { }) .collect::<Vec<_>>(); - self.render_grid(cells.into_iter(), glyph_cache); + self.render_cells(cells.into_iter(), glyph_cache); } #[inline] @@ -705,14 +705,14 @@ impl<'a> RenderApi<'a> { } } - pub fn render_grid<I>( + pub fn render_cells<I>( &mut self, - occupied_cells: I, + cells: I, glyph_cache: &mut GlyphCache ) where I: Iterator<Item=::term::IndexedCell> { - for cell in occupied_cells { + for cell in cells { // Get font key for cell // FIXME this is super inefficient. let mut font_key = glyph_cache.font_key; |