Home
last modified time | relevance | path

Searched hist:a6cf4be0421c1df870218105ce590203c285b5a2 (Results 1 – 2 of 2) sorted by relevance

/freebsd/stand/lua/
H A Dcolor.luadiff a6cf4be0421c1df870218105ce590203c285b5a2 Mon Oct 21 22:09:43 CEST 2019 Kyle Evans <kevans@FreeBSD.org> lualoader: don't botch disabling of color

When colors are disabled, color.escape{fg,bg} would return the passed in
color rather than the proper ANSI sequence for the color.
color.escape{fg,bg} would be wrong.

Instead return '', as the associated reset* functions will also return ''.
This should get rid of the funky '2' and '4' in the kernel selector if
you're booting serial.

Reported by: npn
H A Dscreen.luadiff a6cf4be0421c1df870218105ce590203c285b5a2 Mon Oct 21 22:09:43 CEST 2019 Kyle Evans <kevans@FreeBSD.org> lualoader: don't botch disabling of color

When colors are disabled, color.escape{fg,bg} would return the passed in
color rather than the proper ANSI sequence for the color.
color.escape{fg,bg} would be wrong.

Instead return '', as the associated reset* functions will also return ''.
This should get rid of the funky '2' and '4' in the kernel selector if
you're booting serial.

Reported by: npn