Skip to content

Commit d263251

Browse files
committed
Using sed instead of tr fixed #7
Thanks @noscript, see #7
1 parent 91dbd2d commit d263251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-so-fancy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ strip_leading_symbols () {
2626
}
2727

2828
print_horizontal_rule () {
29-
printf "%$(tput cols)s\n"|tr " " ""
29+
printf "%$(tput cols)s\n"|sed 's/ /─/g'
3030
}
3131

3232
# run it.

0 commit comments

Comments
 (0)