aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2017-12-06 23:51:39 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-12-24 09:46:54 -0800
commit5177e42bca3a1a3c86a9b1a8d369d0bd220cf504 (patch)
treee008af356c77592116eaabefe48b396fe53e0e1d
parent5149dcffbffe0bf35ad3bc85a48f9c82b9ea6477 (diff)
downloadalacritty-5177e42bca3a1a3c86a9b1a8d369d0bd220cf504.tar.gz
alacritty-5177e42bca3a1a3c86a9b1a8d369d0bd220cf504.zip
Update comment to reference proper character
The unicode character comment has been updated to correctly reference the character instead of commenting on the variable that might be that character.
-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 {