Author: dteske
Date: Sun May 27 22:32:45 2018
New Revision: 334262
URL: https://svnweb.freebsd.org/changeset/base/334262

Log:
  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.

Modified:
  head/cddl/usr.sbin/dwatch/dwatch

Modified: head/cddl/usr.sbin/dwatch/dwatch
==============================================================================
--- head/cddl/usr.sbin/dwatch/dwatch    Sun May 27 22:27:47 2018        
(r334261)
+++ head/cddl/usr.sbin/dwatch/dwatch    Sun May 27 22:32:45 2018        
(r334262)
@@ -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"
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to