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.
This commit is contained in:
Christian Duerr 2017-12-06 23:51:39 +01:00 committed by Joe Wilm
parent 5149dcffbf
commit 5177e42bca
2 changed files with 1 additions and 1 deletions

View File

@ -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 = '▁';

View File

@ -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 {