mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Merge pull request #96 from Ameobea/termion-clearing
Fixed issue with resetting background color for Termion backend
This commit is contained in:
commit
ddff15b6cf
@ -108,7 +108,7 @@ impl backend::Backend for Concrete {
|
||||
|
||||
fn finish(&mut self) {
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user