Fix background colour problems with --color output (RH bug #138913).
Obtained from: Karsten Hopp via Fedora
This commit is contained in:
parent
7daa3570e4
commit
833d4d167b
@ -674,6 +674,7 @@ prline (char const *beg, char const *lim, int sep)
|
||||
fputs ("\33[00m", stdout);
|
||||
beg = b + match_size;
|
||||
}
|
||||
fputs ("\33[K", stdout);
|
||||
}
|
||||
fwrite (beg, 1, lim - beg, stdout);
|
||||
if (ferror (stdout))
|
||||
|
Loading…
Reference in New Issue
Block a user