Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed linenos

  • Loading branch information...
commit 41ccf3e4d432d82e56b497e6e2f79fe8fb1ed278 1 parent 9fd85e8
@tj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/search
View
2  bin/search
@@ -70,7 +70,7 @@ function search(path) {
var i = line[0]
, line = line[1];
line = line.replace(re, '\033[37;43m$1\033[0;90m');
- console.log(' \033[90m%d: %s\033[0m', i, line);
+ console.log(' \033[90m%d: %s\033[0m', i+1, line);
});
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.