Merge pull request #96 from Ameobea/termion-clearing

Fixed issue with resetting background color for Termion backend
This commit is contained in:
Alexandre Bury 2017-01-10 17:45:39 -08:00 committed by GitHub
commit ddff15b6cf

View File

@ -108,7 +108,7 @@ impl backend::Backend for Concrete {
fn finish(&mut self) { fn finish(&mut self) {
print!("{}{}", termion::cursor::Show, termion::cursor::Goto(1, 1)); print!("{}{}", termion::cursor::Show, termion::cursor::Goto(1, 1));
self.clear(); print!("{}[49m{}[39m{}", 27 as char, 27 as char, termion::clear::All);
} }
fn init_color_style(&mut self, style: theme::ColorStyle, fn init_color_style(&mut self, style: theme::ColorStyle,