Fix "now" not being right-aligned
This commit is contained in:
parent
2078c5e883
commit
e2624fe64f
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ impl ShowLines {
|
||||||
|
|
||||||
fn display_line_now(&mut self, spans: &[Option<SpanSegment>], time: Time) {
|
fn display_line_now(&mut self, spans: &[Option<SpanSegment>], time: Time) {
|
||||||
self.push(&format!(
|
self.push(&format!(
|
||||||
"{:<nw$} {} {}\n",
|
"{:>nw$} {} {}\n",
|
||||||
"now".bright_cyan().bold(),
|
"now".bright_cyan().bold(),
|
||||||
self.display_spans(spans, " ".into()),
|
self.display_spans(spans, " ".into()),
|
||||||
Self::display_time(Times::At(time)),
|
Self::display_time(Times::At(time)),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue