]> git.baikalelectronics.ru Git - kernel.git/commit
vt: Emulate \e[100-107m (bright background colors).
authorAdam Borowski <kilobyte@angband.pl>
Thu, 15 Sep 2016 14:47:13 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Sep 2016 09:41:54 +0000 (11:41 +0200)
commit7eae60376e3778d67875cd64519b35925525429e
tree62f3bfb85f9610bf691af01c38f5369abd3f41eb
parentc902470877fbacbbda248316e42449624edc9cc2
vt: Emulate \e[100-107m (bright background colors).

For now, these fall back to regular (dark) colors.

It'd be tempting to replace blink with bright backgrounds, as permitted by
CGA/VGA -- we already muck with the other programmable bit (foreground
brightness vs 512 character font).  This would bring vgacon in line with
fbcon, which doesn't support blink anywhere but on some drivers renders
that bit as bright background.  If that is done, this commit should be
amended to be one of ways of setting that bit.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c