diff options
author | iximeow <me@iximeow.net> | 2017-12-24 22:06:20 -0800 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2017-12-24 22:06:20 -0800 |
commit | 75b398ed87c4be384b1fcd614fbcfcf49d297bc0 (patch) | |
tree | 13fd1c040327ccf549b1a84bfd36c7a79e899f17 /src/display | |
parent | 56bc160844b3561ae3566490352e2b2c8b416d51 (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; |