1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-02 02:56:32 +02:00

Fix yellow color to match ack.

This commit is contained in:
Andrew Gallant 2016-09-05 21:19:56 -04:00
parent 5b42999a3d
commit 7f0273c347

View File

@ -239,6 +239,7 @@ impl<W: Send + io::Write> Printer<W> {
fn line_number(&mut self, n: u64, sep: u8) {
if self.wtr.is_color() {
let _ = self.wtr.fg(YELLOW);
let _ = self.wtr.attr(term::Attr::Bold);
}
self.write(n.to_string().as_bytes());
if self.wtr.is_color() {