From fb20fb94e7055ad852f8ae763505925831b57680 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Thu, 2 Mar 2023 02:41:22 +0100 Subject: [PATCH] fix flickering in some terminals --- nested/src/terminal/terminal.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nested/src/terminal/terminal.rs b/nested/src/terminal/terminal.rs index c83c9a6..c03e588 100644 --- a/nested/src/terminal/terminal.rs +++ b/nested/src/terminal/terminal.rs @@ -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)?; }