fix flickering in some terminals
This commit is contained in:
parent
4b6cc1ee55
commit
fb20fb94e7
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@ impl TermOutWriter {
|
||||||
if let Some(atom) = view.get(&pos) {
|
if let Some(atom) = view.get(&pos) {
|
||||||
if cur_style != atom.style {
|
if cur_style != atom.style {
|
||||||
cur_style = atom.style;
|
cur_style = atom.style;
|
||||||
|
write!(out, "{}", termion::style::Reset)?;
|
||||||
write!(out, "{}", atom.style)?;
|
write!(out, "{}", atom.style)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue