aboutsummaryrefslogtreecommitdiff
path: root/src/term
diff options
context:
space:
mode:
Diffstat (limited to 'src/term')
-rw-r--r--src/term/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 2096e7a1..a9a3841f 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -259,7 +259,7 @@ impl<'a> RenderableCellsIter<'a> {
#[derive(Clone, Debug)]
pub enum RenderableCellContent {
Chars([char; cell::MAX_ZEROWIDTH_CHARS + 1]),
- Raw(RasterizedGlyph),
+ Cursor((CursorStyle, RasterizedGlyph)),
}
#[derive(Clone, Debug)]
@@ -388,7 +388,8 @@ impl<'a> Iterator for RenderableCellsIter<'a> {
let mut renderable_cell =
RenderableCell::new(self.config, self.colors, cell, false);
- renderable_cell.inner = RenderableCellContent::Raw(cursor_cell);
+ renderable_cell.inner =
+ RenderableCellContent::Cursor((self.cursor_style, cursor_cell));
if let Some(color) = self.config.cursor_cursor_color() {
renderable_cell.fg = color;