Re: [PATCH] vt: fix background color on line feed

From: Andrew Morton
Date: Sun Apr 27 2008 - 22:36:33 EST


On Sun, 27 Apr 2008 03:12:44 +0200 (CEST) Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> wrote:

> commit c5180a555ced08a7e3011c16ef796e47569ae907
> Author: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
> Date: Thu Apr 24 22:40:24 2008 +0200
>
> vt: fix background color on line feed
>
> A command that causes a line feed while a background color is active,
> such as
>
> perl -e 'print "x" x 60, "\e[44m", "x" x 40, "\e[0m\n"'
> and
> perl -e 'print "x" x 40, "\e[44m\n", "x" x 40, "\e[0m\n"'
>
> causes the line that was started as a result of the line feed to be
> completely filled with the currently active background color instead
> of the default color.

Thanks.

It would be better if the the changelog were to also describe the cause of
the bug, and how the patch fixes it.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/