aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin
diff options
context:
space:
mode:
authorDevin Teske <dteske@FreeBSD.org>2018-05-27 22:32:45 +0000
committerDevin Teske <dteske@FreeBSD.org>2018-05-27 22:32:45 +0000
commit1b114e50c931686fa2abcbd73158195373bac459 (patch)
treeb871394a34a4dc31834be0097db68b0944afbec0 /cddl/usr.sbin
parente08e9e999091f86081377b7cedc3fd2fe2ab70fc (diff)
downloadsrc-1b114e50c931686fa2abcbd73158195373bac459.tar.gz
src-1b114e50c931686fa2abcbd73158195373bac459.zip
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.
Notes
Notes: svn path=/head/; revision=334262
Diffstat (limited to 'cddl/usr.sbin')
-rwxr-xr-xcddl/usr.sbin/dwatch/dwatch4
1 files changed, 0 insertions, 4 deletions
diff --git a/cddl/usr.sbin/dwatch/dwatch b/cddl/usr.sbin/dwatch/dwatch
index 2cb8a5517b05..0002bad15a32 100755
--- a/cddl/usr.sbin/dwatch/dwatch
+++ b/cddl/usr.sbin/dwatch/dwatch
@@ -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"