diff options
author | rabite <rabite@posteo.de> | 2019-01-21 21:48:41 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-01-21 21:48:41 +0100 |
commit | 7b74dcd037b10e7bb63ec54b7b5e8f47c4bc58b0 (patch) | |
tree | 248e58196a027ab559406f405d17dc3f1dd4050d | |
parent | 8ed80cea89a11a58497094a73fcdd0e5a3d99c81 (diff) |
small cosmetic stuff
-rw-r--r-- | src/listview.rs | 4 | ||||
-rw-r--r-- | src/window.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/listview.rs b/src/listview.rs index bb4b701..8098564 100644 --- a/src/listview.rs +++ b/src/listview.rs @@ -75,8 +75,8 @@ impl<T: 'static> ListView<T> where ListView<T>: Widget { term::cursor_left(size.to_string().width() + unit.width()), size, unit, - padding = padding as usize - ) + padding = padding as usize) + } } diff --git a/src/window.rs b/src/window.rs index ec5acbe..2e668db 100644 --- a/src/window.rs +++ b/src/window.rs @@ -46,7 +46,7 @@ where self.screen.write(output.as_ref()).unwrap(); self.screen.flush().unwrap(); - Self::draw_status(); + Self::draw_status(); } pub fn show_status(status: &str) { |