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:
parent
5149dcffbf
commit
5177e42bca
|
@ -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 = '▁';
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue