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:
parent
5b42999a3d
commit
7f0273c347
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user