[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#953527: [apt] colour highlighted error/warn labels



On Tue, 2020-03-10 at 21:10 +0100, Julian Andres Klode wrote:
> Control: severity -1 wishlist
> Control: tag -1 confirmed
> 
> On Tue, Mar 10, 2020 at 06:13:28AM +0000, jnqnfe@gmail.com wrote:
> > Package: src:apt
> > Version: 2.0.0
> > 
> > Please add red/yellow colour highlighting to the 'E'/'W' prefixex
> > respectively output for errors/warnings respectively. (UX
> > improvement).
> > 
> > This would not only benefit direct use of apt binaries, but also be
> > beneficial when used in scripting, such as with live-build where a
> > warnign could be hidden in the middle of a great deal more output
> > that
> > with direct use.
> 
> How does the attached look? Bold red for error, bold yellow for
> warning and yellow for notice; matching dpkg.

looks perfectly fine to me in principle. I'm familiar with dpkg's
colouring which sticks to the common values of "\033[1;31m" (red+bold)
for error and "\033[1;33m" (yellow+bold) for warnings, which is what
I'm sure you've probably used also and is inline with my expectations
:)


Reply to: