Skip to content

Commit bd20d02

Browse files
committed
fixed wrong output padding in non coloured print
1 parent e28c9bd commit bd20d02

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
> simply list everything in a directory
88
9-
> no fancy stuff => just another (bad) ```ls``` clone
9+
> just another (bad) ```ls``` clone
1010
1111
## Examples
1212

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,14 +365,14 @@ fn sl() -> Command {
365365
"{}\n{} {} {} {} {} {}",
366366
"Simply list directory entries",
367367
"💥",
368-
"WITHOUT".strikethrough().yellow(),
369-
"any".bold().underline().blue(),
368+
"even".bold().underline().blue(),
369+
"WITH".strikethrough().yellow(),
370370
"fancy".italic().purple(),
371371
"stuff".bright_red().reversed(),
372372
"✨"
373373
))
374374
// TODO update version
375-
.version("1.1.5")
375+
.version("1.1.6")
376376
.author("Leann Phydon <[email protected]>")
377377
.arg(
378378
Arg::new("colour")
@@ -822,7 +822,7 @@ fn print_output_long(
822822
};
823823

824824
println!(
825-
"{}{}{}\t{:>30}{} {:>35} {}",
825+
"{}{}{}\t{:>30}{} {:>37} {}",
826826
ftype,
827827
perm_read,
828828
perm_write,

0 commit comments

Comments
 (0)