mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Fixed issue with resetting background color for Termion backend
- Background color was being set back to the theme's background color rather than the terminal's background color when the backend was `finish()`ed. This resets the background color to the default instead.
This commit is contained in:
parent
8c366389a7
commit
7ca9821145
@ -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