mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07: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) {
|
fn line_number(&mut self, n: u64, sep: u8) {
|
||||||
if self.wtr.is_color() {
|
if self.wtr.is_color() {
|
||||||
let _ = self.wtr.fg(YELLOW);
|
let _ = self.wtr.fg(YELLOW);
|
||||||
|
let _ = self.wtr.attr(term::Attr::Bold);
|
||||||
}
|
}
|
||||||
self.write(n.to_string().as_bytes());
|
self.write(n.to_string().as_bytes());
|
||||||
if self.wtr.is_color() {
|
if self.wtr.is_color() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user