qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [FOR 0.12 PATCH v3 04/21] vc: colorize chardev title line w


From: Gerd Hoffmann
Subject: [Qemu-devel] [FOR 0.12 PATCH v3 04/21] vc: colorize chardev title line with blue background.
Date: Mon, 7 Dec 2009 13:42:36 +0100

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 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);
-- 
1.6.5.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]