fix flickering in some terminals

This commit is contained in:
Michael Sippel 2023-03-02 02:41:22 +01:00
parent 4b6cc1ee55
commit fb20fb94e7
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -206,6 +206,7 @@ impl TermOutWriter {
if let Some(atom) = view.get(&pos) {
if cur_style != atom.style {
cur_style = atom.style;
write!(out, "{}", termion::style::Reset)?;
write!(out, "{}", atom.style)?;
}