Skip to content

Commit

Permalink
Fixed linenos
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 25, 2011
1 parent 9fd85e8 commit 41ccf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/search
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}
});
Expand Down

0 comments on commit 41ccf3e

Please sign in to comment.