mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
small cosmetic stuff
This commit is contained in:
parent
8ed80cea89
commit
7b74dcd037
@ -75,8 +75,8 @@ impl<T: 'static> ListView<T> where ListView<T>: Widget {
|
|||||||
term::cursor_left(size.to_string().width() + unit.width()),
|
term::cursor_left(size.to_string().width() + unit.width()),
|
||||||
size,
|
size,
|
||||||
unit,
|
unit,
|
||||||
padding = padding as usize
|
padding = padding as usize)
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -46,7 +46,7 @@ where
|
|||||||
self.screen.write(output.as_ref()).unwrap();
|
self.screen.write(output.as_ref()).unwrap();
|
||||||
|
|
||||||
self.screen.flush().unwrap();
|
self.screen.flush().unwrap();
|
||||||
Self::draw_status();
|
Self::draw_status();
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn show_status(status: &str) {
|
pub fn show_status(status: &str) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user