aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--font/src/lib.rs1
-rw-r--r--src/term/mod.rs1
2 files changed, 1 insertions, 1 deletions
diff --git a/font/src/lib.rs b/font/src/lib.rs
index d22746d3..2079d04b 100644
--- a/font/src/lib.rs
+++ b/font/src/lib.rs
@@ -60,6 +60,7 @@ pub use darwin::*;
/// Character used for the underline cursor
#[cfg(not(target_os = "macos"))]
+// This is part of the private use area and should not conflict with any font
pub const UNDERLINE_CURSOR_CHAR: char = '􊏢';
#[cfg(target_os = "macos")]
pub const UNDERLINE_CURSOR_CHAR: char = '▁';
diff --git a/src/term/mod.rs b/src/term/mod.rs
index 1fbe4d8e..2e1365fb 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -208,7 +208,6 @@ impl<'a> RenderableCellsIter<'a> {
});
let cursor_color = self.text_cursor_color(&cursor_cell);
- // This is part of the private use area and shouldn't be used by any font
cursor_cell.c = font::UNDERLINE_CURSOR_CHAR;
cursor_cell.fg = cursor_color;
self.cursor_cells.push_back(Indexed {