fix(backend/curses): avoid platform specific conversion of graphemes

This commit is contained in:
Florian Dehau 2019-02-26 08:32:36 +01:00
parent da90ec15fa
commit 3ef19f41e6

View file

@ -161,9 +161,9 @@ fn draw(curses: &mut easycurses::EasyCurses, symbol: &str) {
block::THREE_QUATERS => pancurses::ACS_BLOCK(),
block::FIVE_EIGHTHS => pancurses::ACS_BLOCK(),
block::HALF => pancurses::ACS_BLOCK(),
block::THREE_EIGHTHS => ' ' as u32,
block::ONE_QUATER => ' ' as u32,
block::ONE_EIGHTH => ' ' as u32,
block::THREE_EIGHTHS => ' '.into(),
block::ONE_QUATER => ' '.into(),
block::ONE_EIGHTH => ' '.into(),
bar::SEVEN_EIGHTHS => pancurses::ACS_BLOCK(),
bar::THREE_QUATERS => pancurses::ACS_BLOCK(),
bar::FIVE_EIGHTHS => pancurses::ACS_BLOCK(),