mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
dwatch(1): Eliminate ANSI dimming in developer mode
"Developer mode" (passing of "-dev" options), which enables debugging features on compilation error, used to dim lines unrelated to error. That proved distracting and feedback from testers also confirmed that simply highlighting the line the compiler complains about is enough. Sponsored by: Smule, Inc.
This commit is contained in:
parent
e08e9e9990
commit
1b114e50c9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334262
@ -1057,10 +1057,6 @@ PSARGS_ACTION=$( cat <&9 )
|
||||
slen = length(sprintf("%u", start))
|
||||
elen = length(sprintf("%u", end))
|
||||
N = elen > slen ? elen : slen
|
||||
for (i = start; i <= end; i++) {
|
||||
ti[i] = "\033[2m"
|
||||
te[i] = "\033[22m"
|
||||
}
|
||||
ti[line] = "\033[31m"
|
||||
te[line] = "\033[39m"
|
||||
fmt = "%s%*u %s%s\n"
|
||||
|
Loading…
Reference in New Issue
Block a user