diff options
author | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-12-24 22:06:20 -0800 |
---|---|---|
committer | Andy Wortman <ixineeringeverywhere@gmail.com> | 2017-12-24 22:06:20 -0800 |
commit | 160df4335dd132dc8bda96d0cec2aea787523563 (patch) | |
tree | 13fd1c040327ccf549b1a84bfd36c7a79e899f17 /src/display | |
parent | 2ad6338ffb2c1cf37acd54bd8c2997d051dd02e6 (diff) |
adjust line clearing behavior to alleviate flickering
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |