aboutsummaryrefslogtreecommitdiff
path: root/src/renderer/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/mod.rs')
-rw-r--r--src/renderer/mod.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs
index 4cd26771..d5946c76 100644
--- a/src/renderer/mod.rs
+++ b/src/renderer/mod.rs
@@ -577,22 +577,6 @@ impl<'a> RenderApi<'a> {
}
}
- pub fn render_cursor(&mut self, cursor: &index::Cursor, glyph_cache: &mut GlyphCache) {
- if let Some(glyph) = glyph_cache.get(term::CURSOR_SHAPE, self) {
- let cell = Cell {
- c: term::CURSOR_SHAPE,
- fg: term::DEFAULT_FG,
- bg: term::DEFAULT_BG,
- flags: cell::Flags::empty(),
- };
-
- let y: usize = *cursor.line;
- let x: usize = *cursor.col;
-
- self.add_render_item(y as f32, x as f32, &cell, glyph);
- }
- }
-
pub fn render_grid(&mut self, grid: &Grid<Cell>, glyph_cache: &mut GlyphCache) {
for (i, line) in grid.lines().enumerate() {
for (j, cell) in line.cells().enumerate() {