Skip to content

Commit 0965029

Browse files
Add a --rulerWidth option
1 parent 39cd6a1 commit 0965029

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

diff-so-fancy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ my $columns_to_remove = 0;
4747
my $is_mercurial = 0;
4848
my $color_forced = 0; # Has the color been forced on/off
4949

50+
if ($args->{rulerWidth}) {
51+
$ruler_width = int($args->{rulerWidth});
52+
}
53+
5054
# We try and be smart about whether we need to do line coloring, but
5155
# this is an option to force it on/off
5256
if ($args->{color_on}) {

0 commit comments

Comments
 (0)