Clear note messages to avoid trailing letters

This commit is contained in:
Kelvin Ly 2019-12-21 14:20:54 -05:00
parent 21e719c4d2
commit 4b6dd230f3
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ fn main() {
None => ()
}
while let Ok((ts, msg)) = rx.try_recv() {
window.mvprintw(5, 0, " ");
window.mvprintw(5, 0, format!("{:?} {}.{:03}", msg, ts/1000, ts%1000));
}