Add history to TX/RX status.

This commit is contained in:
2019-09-21 21:20:01 -07:00
parent f09145eccd
commit 2d054bb9a1
4 changed files with 40 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ fn main() {
}
// Realtime upload/download rate for a interface
bar.push(NetworkSpeedWidget::new(&opts.nic));
bar.push(NetworkSpeedWidget::new(&opts.nic, 6));
bar.push(DateTimeWidget::new("%m/%d %H:%M".to_string()));

View File

@@ -26,7 +26,7 @@ fn main() {
}
// Realtime upload/download rate for a interface
bar.push(NetworkSpeedWidget::new(&opts.nic));
bar.push(NetworkSpeedWidget::new(&opts.nic, 6));
bar.push(DateTimeWidget::tz(
"%H:%M %Z".to_string(),