From 160df4335dd132dc8bda96d0cec2aea787523563 Mon Sep 17 00:00:00 2001 From: Andy Wortman Date: Sun, 24 Dec 2017 22:06:20 -0800 Subject: adjust line clearing behavior to alleviate flickering --- src/display/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display/mod.rs b/src/display/mod.rs index 37de481..e747eec 100644 --- a/src/display/mod.rs +++ b/src/display/mod.rs @@ -561,7 +561,7 @@ pub fn paint(tweeter: &::tw::TwitterCache, display_info: &mut DisplayInfo) -> Re } }; for line in to_draw { - print!("{}{}{}", cursor::Goto(1, height - h), clear::CurrentLine, line); + print!("{}{}{}", cursor::Goto(1, height - h), line, clear::UntilNewline); h = h + 1; if h >= height { break; -- cgit v1.1