Skip to content

Commit 3f0ba22

Browse files
committed
[patch] Text alignment
1 parent ff6dcd0 commit 3f0ba22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/io.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ fn print_task_table(tasks: &Vec<&Task>) {
202202
};
203203

204204
println!(
205-
"{TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<n$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<d$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:>w$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<t$} {TITLE_ANSI_COLOR}|{ANSI_RESET}",
205+
"{TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<n$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<d$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:>w$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:^t$} {TITLE_ANSI_COLOR}|{ANSI_RESET}",
206206
name_part,
207207
desc_part,
208208
weight_part,
@@ -290,7 +290,7 @@ fn print_heap_headers(heaps: Vec<&TaskHeap>) {
290290
};
291291

292292
println!(
293-
"{TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<n$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<w$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:>t$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<s$} {TITLE_ANSI_COLOR}|{ANSI_RESET}",
293+
"{TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<n$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<w$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:>t$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:^s$} {TITLE_ANSI_COLOR}|{ANSI_RESET}",
294294
name_part,
295295
weight_part,
296296
tags_part,
@@ -448,7 +448,7 @@ pub fn print_tasks_standalone<W: Write>(tasks: Vec<&Task>, str: &mut W) -> Resul
448448

449449
writeln!(
450450
str,
451-
"{TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<n$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<d$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:>w$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<t$} {TITLE_ANSI_COLOR}|{ANSI_RESET}",
451+
"{TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<n$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:<d$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:>w$} {TITLE_ANSI_COLOR}|{TEXT_ANSI_COLOR} {:^t$} {TITLE_ANSI_COLOR}|{ANSI_RESET}",
452452
name_part,
453453
desc_part,
454454
weight_part,

0 commit comments

Comments
 (0)