diff options
author | Rupert Rutledge <eosis2 [at] gmail.com> | 2020-04-26 20:31:22 +0100 |
---|---|---|
committer | Rupert Rutledge <eosis2 [at] gmail.com> | 2020-04-26 20:31:22 +0100 |
commit | 1e7e0e47445557cf133fb16ce6f3ffa89e296249 (patch) | |
tree | 7539f41a663b19b3ed2ad2973de0f27a544bd992 | |
parent | 4844693ceac387fddfe18b01f9b975626ae47619 (diff) |
Add space to elapsed time to mirror other print
The bandwidth print has a leading space, so this should have a trailing
space.
-rw-r--r-- | src/display/components/total_bandwidth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/components/total_bandwidth.rs b/src/display/components/total_bandwidth.rs index 095247b..0581330 100644 --- a/src/display/components/total_bandwidth.rs +++ b/src/display/components/total_bandwidth.rs @@ -53,7 +53,7 @@ impl<'a> HeaderDetails<'a> { fn render_elapsed_time(&self, frame: &mut Frame<impl Backend>, rect: Rect) { let elapsed_time_text = [Text::styled( format!( - "Total Elapsed Time: {:02}:{:02}:{:02}", + "Total Elapsed Time: {:02}:{:02}:{:02} ", self.elapsed_time.as_secs() / 3600, (self.elapsed_time.as_secs() % 3600) / 60, self.elapsed_time.as_secs() % 60 |