Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2017 15:07:38 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Ed Maste <emaste@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r316477 - head/usr.bin/grep
Message-ID:  <4ceb1a18-3a72-c0e3-b2e2-f71d687cd153@freebsd.org>
In-Reply-To: <201704032316.v33NGpbo037305@repo.freebsd.org>
References:  <201704032316.v33NGpbo037305@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04.04.2017 2:16, Ed Maste wrote:
>  			if (color) 
> -				fprintf(stdout, "\33[m\33[K");
> +				fprintf(stdout, "\33[00m\33[K");

Please back that one out. We don't need to handle internally or print
remotely excessive 00.
At least according to
https://en.wikipedia.org/wiki/ANSI_escape_code
"With no parameters, CSI m is treated as CSI 0 m (reset / normal), which
is typical of most of the ANSI escape sequences."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ceb1a18-3a72-c0e3-b2e2-f71d687cd153>