From patchwork Tue Nov 24 08:58:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [02/10] vc: colorize chardev title line with blue background. From: Gerd Hoffmann X-Patchwork-Id: 39181 Message-Id: <1259053124-10471-3-git-send-email-kraxel@redhat.com> To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Date: Tue, 24 Nov 2009 09:58:36 +0100 Signed-off-by: Gerd Hoffmann --- console.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c index 2aeb5b3..8086bd6 100644 --- a/console.c +++ b/console.c @@ -1388,8 +1388,10 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds, QemuOpt char msg[128]; int len; + s->t_attrib.bgcol = COLOR_BLUE; len = snprintf(msg, sizeof(msg), "%s console\r\n", chr->label); console_puts(chr, (uint8_t*)msg, len); + s->t_attrib = s->t_attrib_default; } qemu_chr_generic_open(chr);