Specify unicode code point explicitly

This commit is contained in:
Christian Duerr 2017-12-06 23:55:49 +01:00 committed by Joe Wilm
parent 5177e42bca
commit 9f708146d9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,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 = '􊏢';
pub const UNDERLINE_CURSOR_CHAR: char = '\u{10a3e2}';
#[cfg(target_os = "macos")]
pub const UNDERLINE_CURSOR_CHAR: char = '▁';